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_cflags_no_red_zone
702 aros_cflags_iquote_end
704 aros_cflags_nostrictaliasing
705 aros_cflags_strictaliasing
706 aros_cflags_unroll_loops
707 aros_cflags_peel_loops
708 aros_cflags_loop_strip_mine
709 aros_cflags_loop_interchange
710 aros_cflags_loop_block
711 aros_cflags_whole_program
714 aros_cflags_no_builtin_floor
715 aros_cflags_fast_math
716 aros_cflags_permissive
751 program_transform_name
764 enable_option_checking
767 ac_precious_vars
='build_alias
777 # Initialize some variables set by options.
779 ac_init_version
=false
780 ac_unrecognized_opts
=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name
=s
,x
,x
,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir
='${exec_prefix}/bin'
806 sbindir
='${exec_prefix}/sbin'
807 libexecdir
='${exec_prefix}/libexec'
808 datarootdir
='${prefix}/share'
809 datadir
='${datarootdir}'
810 sysconfdir
='${prefix}/etc'
811 sharedstatedir
='${prefix}/com'
812 localstatedir
='${prefix}/var'
813 includedir
='${prefix}/include'
814 oldincludedir
='/usr/include'
815 docdir
='${datarootdir}/doc/${PACKAGE}'
816 infodir
='${datarootdir}/info'
821 libdir
='${exec_prefix}/lib'
822 localedir
='${datarootdir}/locale'
823 mandir
='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\
$ac_option
837 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error $?
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=no
;;
896 -docdir |
--docdir |
--docdi |
--doc |
--do)
898 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
901 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
903 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
906 -enable-* |
--enable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error $?
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error $?
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error $?
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=no
;;
1143 # Obsolete; use --with-x.
1146 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1147 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1148 ac_prev
=x_includes
;;
1149 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1150 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1151 x_includes
=$ac_optarg ;;
1153 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1154 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1155 ac_prev
=x_libraries
;;
1156 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1157 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1158 x_libraries
=$ac_optarg ;;
1160 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1165 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1169 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\
$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185 if test -n "$ac_prev"; then
1186 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $?
"missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val
=\$
$ac_var
1205 # Remove trailing slashes.
1208 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\
$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$
]* | ?
:[\\/]* ) continue;;
1214 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1216 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target
=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x
; then
1228 if test "x$build_alias" = x
; then
1229 cross_compiling
=maybe
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1238 test "$silent" = yes && exec 6>/dev
/null
1241 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di
=`ls -di .` &&
1243 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $?
"working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $?
"pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted
=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir
=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted
=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1285 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var
in $ac_precious_vars; do
1302 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1304 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures this package to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1374 if test -n "$ac_init_help"; then
1379 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1380 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1381 --with-config-dir=VERSION
1382 Location of generated target config files
1384 Some influential environment variables
:
1385 CC C compiler
command
1386 CFLAGS C compiler flags
1387 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1388 nonstandard directory
<lib dir
>
1389 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1390 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1391 you have headers
in a nonstandard directory
<include dir
>
1393 Use these variables to override the choices made by
`configure' or to help
1394 it to find libraries and programs with nonstandard names/locations.
1396 Report bugs to the package provider.
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1404 test -d "$ac_dir" ||
1405 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1420 ac_abs_top_builddir=$ac_pwd
1421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir=$ac_top_build_prefix
1426 .) # We are building in place.
1428 ac_top_srcdir=$ac_top_builddir_sub
1429 ac_abs_top_srcdir=$ac_pwd ;;
1430 [\\/]* | ?:[\\/]* ) # Absolute name.
1431 ac_srcdir=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir=$srcdir
1433 ac_abs_top_srcdir=$srcdir ;;
1435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" || { ac_status=$?; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1450 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 cd "$ac_pwd" || { ac_status=$?; break; }
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1460 generated by GNU Autoconf 2.69
1462 Copyright (C) 2012 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1469 ## ------------------------ ##
1470 ## Autoconf initialization. ##
1471 ## ------------------------ ##
1473 # ac_fn_c_try_compile LINENO
1474 # --------------------------
1475 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1476 ac_fn_c_try_compile ()
1478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1479 rm -f conftest.$ac_objext
1480 if { { ac_try="$ac_compile"
1482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1483 *) ac_try_echo
=$ac_try;;
1485 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1486 $as_echo "$ac_try_echo"; } >&5
1487 (eval "$ac_compile") 2>conftest.err
1489 if test -s conftest.err
; then
1490 grep -v '^ *+' conftest.err
>conftest.er1
1491 cat conftest.er1
>&5
1492 mv -f conftest.er1 conftest.err
1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1495 test $ac_status = 0; } && {
1496 test -z "$ac_c_werror_flag" ||
1497 test ! -s conftest.err
1498 } && test -s conftest.
$ac_objext; then :
1501 $as_echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.
$ac_ext >&5
1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1507 as_fn_set_status
$ac_retval
1509 } # ac_fn_c_try_compile
1510 cat >config.log
<<_ACEOF
1511 This file contains any messages produced by compilers while
1512 running configure, to aid debugging if configure makes a mistake.
1514 It was created by $as_me, which was
1515 generated by GNU Autoconf 2.69. Invocation command line was
1527 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1528 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1529 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1530 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1531 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1533 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1534 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1536 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1537 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1538 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1539 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1540 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1541 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1542 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1550 test -z "$as_dir" && as_dir
=.
1551 $as_echo "PATH: $as_dir"
1567 # Keep a trace of the command line.
1568 # Strip out --no-create and --no-recursion so they do not pile up.
1569 # Strip out --silent because we don't want to record it for future runs.
1570 # Also quote any args containing shell meta-characters.
1571 # Make two passes to allow for proper duplicate-argument suppression.
1575 ac_must_keep_next
=false
1581 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1582 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1583 |
-silent |
--silent |
--silen |
--sile |
--sil)
1586 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1589 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1591 as_fn_append ac_configure_args1
" '$ac_arg'"
1592 if test $ac_must_keep_next = true
; then
1593 ac_must_keep_next
=false
# Got value, back to normal.
1596 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1597 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1598 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1599 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1600 case "$ac_configure_args0 " in
1601 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1604 -* ) ac_must_keep_next
=true
;;
1607 as_fn_append ac_configure_args
" '$ac_arg'"
1612 { ac_configure_args0
=; unset ac_configure_args0
;}
1613 { ac_configure_args1
=; unset ac_configure_args1
;}
1615 # When interrupted or exit'd, cleanup temporary files, and complete
1616 # config.log. We remove comments because anyway the quotes in there
1617 # would cause problems or look ugly.
1618 # WARNING: Use '\'' to represent an apostrophe within the trap.
1619 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1620 trap 'exit_status=$?
1621 # Save into config.log some information that might help in debugging.
1625 $as_echo "## ---------------- ##
1626 ## Cache variables. ##
1627 ## ---------------- ##"
1629 # The following way of writing the cache mishandles newlines in values,
1631 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1632 eval ac_val=\$$ac_var
1636 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1637 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1640 _ | IFS | as_nl) ;; #(
1641 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1642 *) { eval $ac_var=; unset $ac_var;} ;;
1647 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1648 *${as_nl}ac_space=\ *)
1650 "s/'\''/'\''\\\\'\'''\''/g;
1651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1661 $as_echo "## ----------------- ##
1662 ## Output variables. ##
1663 ## ----------------- ##"
1665 for ac_var in $ac_subst_vars
1667 eval ac_val=\$$ac_var
1669 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1671 $as_echo "$ac_var='\''$ac_val'\''"
1675 if test -n "$ac_subst_files"; then
1676 $as_echo "## ------------------- ##
1677 ## File substitutions. ##
1678 ## ------------------- ##"
1680 for ac_var
in $ac_subst_files
1682 eval ac_val
=\$
$ac_var
1684 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1686 $as_echo "$ac_var='\''$ac_val'\''"
1691 if test -s confdefs.h; then
1692 $as_echo "## ----------- ##
1699 test "$ac_signal" != 0 &&
1700 $as_echo "$as_me: caught signal $ac_signal"
1701 $as_echo "$as_me: exit $exit_status"
1703 rm -f core *.core core.conftest.* &&
1704 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1707 for ac_signal
in 1 2 13 15; do
1708 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1712 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1713 rm -f -r conftest
* confdefs.h
1715 $as_echo "/* confdefs.h */" > confdefs.h
1717 # Predefined preprocessor variables.
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_NAME "$PACKAGE_NAME"
1723 cat >>confdefs.h
<<_ACEOF
1724 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1727 cat >>confdefs.h
<<_ACEOF
1728 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1731 cat >>confdefs.h
<<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1735 cat >>confdefs.h
<<_ACEOF
1736 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1739 cat >>confdefs.h
<<_ACEOF
1740 #define PACKAGE_URL "$PACKAGE_URL"
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer an explicitly selected file to automatically selected ones.
1748 if test -n "$CONFIG_SITE"; then
1749 # We do not want a PATH search for config.site.
1750 case $CONFIG_SITE in #((
1751 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1752 */*) ac_site_file1
=$CONFIG_SITE;;
1753 *) ac_site_file1
=.
/$CONFIG_SITE;;
1755 elif test "x$prefix" != xNONE
; then
1756 ac_site_file1
=$prefix/share
/config.site
1757 ac_site_file2
=$prefix/etc
/config.site
1759 ac_site_file1
=$ac_default_prefix/share
/config.site
1760 ac_site_file2
=$ac_default_prefix/etc
/config.site
1762 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1764 test "x$ac_site_file" = xNONE
&& continue
1765 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1767 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1768 sed 's/^/| /' "$ac_site_file" >&5
1770 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1772 as_fn_error $?
"failed to load site script $ac_site_file
1773 See \`config.log' for more details" "$LINENO" 5; }
1777 if test -r "$cache_file"; then
1778 # Some versions of bash will fail to source /dev/null (special files
1779 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1780 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1782 $as_echo "$as_me: loading cache $cache_file" >&6;}
1784 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1785 *) .
"./$cache_file";;
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1790 $as_echo "$as_me: creating cache $cache_file" >&6;}
1794 # Check that the precious variables saved in the cache have kept the same
1796 ac_cache_corrupted
=false
1797 for ac_var
in $ac_precious_vars; do
1798 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1799 eval ac_new_set
=\
$ac_env_${ac_var}_set
1800 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1801 eval ac_new_val
=\
$ac_env_${ac_var}_value
1802 case $ac_old_set,$ac_new_set in
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1805 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1806 ac_cache_corrupted
=: ;;
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1809 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1810 ac_cache_corrupted
=: ;;
1813 if test "x$ac_old_val" != "x$ac_new_val"; then
1814 # differences in whitespace do not lead to failure.
1815 ac_old_val_w
=`echo x $ac_old_val`
1816 ac_new_val_w
=`echo x $ac_new_val`
1817 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1819 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1820 ac_cache_corrupted
=:
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1823 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1824 eval $ac_var=\
$ac_old_val
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1827 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1829 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1832 # Pass precious variables to config.status.
1833 if test "$ac_new_set" = set; then
1835 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1836 *) ac_arg
=$ac_var=$ac_new_val ;;
1838 case " $ac_configure_args " in
1839 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1840 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1844 if $ac_cache_corrupted; then
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1848 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1849 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1851 ## -------------------- ##
1852 ## Main body of script. ##
1853 ## -------------------- ##
1856 ac_cpp
='$CPP $CPPFLAGS'
1857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1864 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1865 if test -f "$ac_dir/install-sh"; then
1867 ac_install_sh
="$ac_aux_dir/install-sh -c"
1869 elif test -f "$ac_dir/install.sh"; then
1871 ac_install_sh
="$ac_aux_dir/install.sh -c"
1873 elif test -f "$ac_dir/shtool"; then
1875 ac_install_sh
="$ac_aux_dir/shtool install -c"
1879 if test -z "$ac_aux_dir"; then
1880 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1883 # These three variables are undocumented and unsupported,
1884 # and are intended to be withdrawn in a future Autoconf release.
1885 # They can cause serious problems if a builder's source tree is in a directory
1886 # whose full name contains unusual characters.
1887 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1888 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1889 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1893 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1894 AROS_BUILDDIR_UNIX
=${PWD}
1896 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1899 NOLINKFLAGS
="-nostdlib -nostartfiles"
1900 LDFLAGS
=$NOLINKFLAGS
1901 # The first step is to find the binaries.
1903 ac_cpp
='$CPP $CPPFLAGS'
1904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1907 if test -n "$ac_tool_prefix"; then
1908 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1909 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1911 $as_echo_n "checking for $ac_word... " >&6; }
1912 if ${ac_cv_prog_CC+:} false
; then :
1913 $as_echo_n "(cached) " >&6
1915 if test -n "$CC"; then
1916 ac_cv_prog_CC
="$CC" # Let the user override the test.
1918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1922 test -z "$as_dir" && as_dir
=.
1923 for ac_exec_ext
in '' $ac_executable_extensions; do
1924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1936 if test -n "$CC"; then
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1938 $as_echo "$CC" >&6; }
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1941 $as_echo "no" >&6; }
1946 if test -z "$ac_cv_prog_CC"; then
1948 # Extract the first word of "gcc", so it can be a program name with args.
1949 set dummy gcc
; ac_word
=$2
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1951 $as_echo_n "checking for $ac_word... " >&6; }
1952 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1953 $as_echo_n "(cached) " >&6
1955 if test -n "$ac_ct_CC"; then
1956 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir
=.
1963 for ac_exec_ext
in '' $ac_executable_extensions; do
1964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1965 ac_cv_prog_ac_ct_CC
="gcc"
1966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1976 if test -n "$ac_ct_CC"; then
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1978 $as_echo "$ac_ct_CC" >&6; }
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1981 $as_echo "no" >&6; }
1984 if test "x$ac_ct_CC" = x
; then
1987 case $cross_compiling:$ac_tool_warned in
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1991 ac_tool_warned
=yes ;;
1999 if test -z "$CC"; then
2000 if test -n "$ac_tool_prefix"; then
2001 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2002 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2004 $as_echo_n "checking for $ac_word... " >&6; }
2005 if ${ac_cv_prog_CC+:} false
; then :
2006 $as_echo_n "(cached) " >&6
2008 if test -n "$CC"; then
2009 ac_cv_prog_CC
="$CC" # Let the user override the test.
2011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2015 test -z "$as_dir" && as_dir
=.
2016 for ac_exec_ext
in '' $ac_executable_extensions; do
2017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2018 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2029 if test -n "$CC"; then
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2031 $as_echo "$CC" >&6; }
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2034 $as_echo "no" >&6; }
2040 if test -z "$CC"; then
2041 # Extract the first word of "cc", so it can be a program name with args.
2042 set dummy cc
; ac_word
=$2
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2044 $as_echo_n "checking for $ac_word... " >&6; }
2045 if ${ac_cv_prog_CC+:} false
; then :
2046 $as_echo_n "(cached) " >&6
2048 if test -n "$CC"; then
2049 ac_cv_prog_CC
="$CC" # Let the user override the test.
2052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir
=.
2057 for ac_exec_ext
in '' $ac_executable_extensions; do
2058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2059 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2060 ac_prog_rejected
=yes
2064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 if test $ac_prog_rejected = yes; then
2072 # We found a bogon in the path, so make sure we never use it.
2073 set dummy
$ac_cv_prog_CC
2075 if test $# != 0; then
2076 # We chose a different compiler from the bogus one.
2077 # However, it has the same basename, so the bogon will be chosen
2078 # first if we set CC to just the basename; use the full file name.
2080 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2086 if test -n "$CC"; then
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2088 $as_echo "$CC" >&6; }
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2091 $as_echo "no" >&6; }
2096 if test -z "$CC"; then
2097 if test -n "$ac_tool_prefix"; then
2098 for ac_prog
in cl.exe
2100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2101 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2103 $as_echo_n "checking for $ac_word... " >&6; }
2104 if ${ac_cv_prog_CC+:} false
; then :
2105 $as_echo_n "(cached) " >&6
2107 if test -n "$CC"; then
2108 ac_cv_prog_CC
="$CC" # Let the user override the test.
2110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2114 test -z "$as_dir" && as_dir
=.
2115 for ac_exec_ext
in '' $ac_executable_extensions; do
2116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2117 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 if test -n "$CC"; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2130 $as_echo "$CC" >&6; }
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2133 $as_echo "no" >&6; }
2137 test -n "$CC" && break
2140 if test -z "$CC"; then
2142 for ac_prog
in cl.exe
2144 # Extract the first word of "$ac_prog", so it can be a program name with args.
2145 set dummy
$ac_prog; ac_word
=$2
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2147 $as_echo_n "checking for $ac_word... " >&6; }
2148 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2149 $as_echo_n "(cached) " >&6
2151 if test -n "$ac_ct_CC"; then
2152 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir
=.
2159 for ac_exec_ext
in '' $ac_executable_extensions; do
2160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_ac_ct_CC
="$ac_prog"
2162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2172 if test -n "$ac_ct_CC"; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2174 $as_echo "$ac_ct_CC" >&6; }
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2177 $as_echo "no" >&6; }
2181 test -n "$ac_ct_CC" && break
2184 if test "x$ac_ct_CC" = x
; then
2187 case $cross_compiling:$ac_tool_warned in
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2191 ac_tool_warned
=yes ;;
2200 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2202 as_fn_error $?
"no acceptable C compiler found in \$PATH
2203 See \`config.log' for more details" "$LINENO" 5; }
2205 # Provide some information about the compiler.
2206 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2209 for ac_option
in --version -v -V -qversion; do
2210 { { ac_try
="$ac_compiler $ac_option >&5"
2212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2213 *) ac_try_echo=$ac_try;;
2215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2216 $as_echo "$ac_try_echo"; } >&5
2217 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2219 if test -s conftest.err; then
2221 ... rest of stderr output deleted ...
2222 10q' conftest.err >conftest.er1
2223 cat conftest.er1 >&5
2225 rm -f conftest.er1 conftest.err
2226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2227 test $ac_status = 0; }
2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h. */
2241 ac_clean_files_save=$ac_clean_files
2242 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2243 # Try to create an executable without -o first, disregard a.out.
2244 # It will help us diagnose broken compilers, and finding out an intuition
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2247 $as_echo_n "checking whether the C compiler works... " >&6; }
2248 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2250 # The possible output files:
2251 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2254 for ac_file in $ac_files
2257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2258 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2263 if { { ac_try="$ac_link_default"
2265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2266 *) ac_try_echo
=$ac_try;;
2268 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2269 $as_echo "$ac_try_echo"; } >&5
2270 (eval "$ac_link_default") 2>&5
2272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2273 test $ac_status = 0; }; then :
2274 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2275 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2276 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2277 # so that the user can short-circuit this test for compilers unknown to
2279 for ac_file
in $ac_files ''
2281 test -f "$ac_file" ||
continue
2283 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2286 # We found the default executable, but exeext='' is most
2290 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2292 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2294 # We set ac_cv_exeext here because the later test for it is not
2295 # safe: cross compilers may not add the suffix if given an `-o'
2296 # argument, so we may need to know it at that point already.
2297 # Even if this section looks crufty: it has the advantage of
2304 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2309 if test -z "$ac_file"; then :
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2311 $as_echo "no" >&6; }
2312 $as_echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.
$ac_ext >&5
2315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2317 as_fn_error
77 "C compiler cannot create executables
2318 See \`config.log' for more details" "$LINENO" 5; }
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2321 $as_echo "yes" >&6; }
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2324 $as_echo_n "checking for C compiler default output file name... " >&6; }
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2326 $as_echo "$ac_file" >&6; }
2327 ac_exeext
=$ac_cv_exeext
2329 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2330 ac_clean_files
=$ac_clean_files_save
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2332 $as_echo_n "checking for suffix of executables... " >&6; }
2333 if { { ac_try
="$ac_link"
2335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_link") 2>&5
2342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2343 test $ac_status = 0; }; then :
2344 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2345 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2346 # work properly (i.e., refer to `conftest.exe'), while it won't with
2348 for ac_file
in conftest.exe conftest conftest.
*; do
2349 test -f "$ac_file" ||
continue
2351 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2352 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2360 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2361 See \`config.log' for more details" "$LINENO" 5; }
2363 rm -f conftest conftest
$ac_cv_exeext
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2365 $as_echo "$ac_cv_exeext" >&6; }
2367 rm -f conftest.
$ac_ext
2368 EXEEXT
=$ac_cv_exeext
2370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2376 FILE *f = fopen ("conftest.out", "w");
2377 return ferror (f) || fclose (f) != 0;
2383 ac_clean_files
="$ac_clean_files conftest.out"
2384 # Check that the compiler produces executables we can run. If not, either
2385 # the compiler is broken, or we cross compile.
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2387 $as_echo_n "checking whether we are cross compiling... " >&6; }
2388 if test "$cross_compiling" != yes; then
2389 { { ac_try
="$ac_link"
2391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2392 *) ac_try_echo=$ac_try;;
2394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2395 $as_echo "$ac_try_echo"; } >&5
2396 (eval "$ac_link") 2>&5
2398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2399 test $ac_status = 0; }
2400 if { ac_try='./conftest$ac_cv_exeext'
2401 { { case "(($ac_try" in
2402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2403 *) ac_try_echo
=$ac_try;;
2405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2406 $as_echo "$ac_try_echo"; } >&5
2407 (eval "$ac_try") 2>&5
2409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410 test $ac_status = 0; }; }; then
2413 if test "$cross_compiling" = maybe
; then
2416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2418 as_fn_error $?
"cannot run C compiled programs.
2419 If you meant to cross compile, use \`--host'.
2420 See \`config.log' for more details" "$LINENO" 5; }
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2425 $as_echo "$cross_compiling" >&6; }
2427 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2428 ac_clean_files
=$ac_clean_files_save
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2430 $as_echo_n "checking for suffix of object files... " >&6; }
2431 if ${ac_cv_objext+:} false
; then :
2432 $as_echo_n "(cached) " >&6
2434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2445 rm -f conftest.o conftest.obj
2446 if { { ac_try
="$ac_compile"
2448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452 $as_echo "$ac_try_echo"; } >&5
2453 (eval "$ac_compile") 2>&5
2455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2456 test $ac_status = 0; }; then :
2457 for ac_file in conftest.o conftest.obj conftest.*; do
2458 test -f "$ac_file" || continue;
2460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2461 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2466 $as_echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.$ac_ext >&5
2469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2471 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2472 See \
`config.log' for more details" "$LINENO" 5; }
2474 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2477 $as_echo "$ac_cv_objext" >&6; }
2478 OBJEXT=$ac_cv_objext
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2481 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2482 if ${ac_cv_c_compiler_gnu+:} false; then :
2483 $as_echo_n "(cached) " >&6
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2499 if ac_fn_c_try_compile "$LINENO"; then :
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2509 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2510 if test $ac_compiler_gnu = yes; then
2515 ac_test_CFLAGS=${CFLAGS+set}
2516 ac_save_CFLAGS=$CFLAGS
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2518 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2519 if ${ac_cv_prog_cc_g+:} false; then :
2520 $as_echo_n "(cached) " >&6
2522 ac_save_c_werror_flag=$ac_c_werror_flag
2523 ac_c_werror_flag=yes
2526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2527 /* end confdefs.h. */
2537 if ac_fn_c_try_compile "$LINENO"; then :
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2552 if ac_fn_c_try_compile "$LINENO"; then :
2555 ac_c_werror_flag=$ac_save_c_werror_flag
2557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2558 /* end confdefs.h. */
2568 if ac_fn_c_try_compile "$LINENO"; then :
2571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2576 ac_c_werror_flag=$ac_save_c_werror_flag
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2579 $as_echo "$ac_cv_prog_cc_g" >&6; }
2580 if test "$ac_test_CFLAGS" = set; then
2581 CFLAGS=$ac_save_CFLAGS
2582 elif test $ac_cv_prog_cc_g = yes; then
2583 if test "$GCC" = yes; then
2589 if test "$GCC" = yes; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2596 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2597 if ${ac_cv_prog_cc_c89+:} false; then :
2598 $as_echo_n "(cached) " >&6
2600 ac_cv_prog_cc_c89=no
2602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2603 /* end confdefs.h. */
2607 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2608 struct buf { int x; };
2609 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2610 static char *e (p, i)
2616 static char *f (char * (*g) (char **, int), char **p, ...)
2621 s = g (p, va_arg (v,int));
2626 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2627 function prototypes and stuff, but not '\xHH' hex character constants.
2628 These don't provoke an error unfortunately, instead are silently treated
2629 as 'x'. The following induces an error, until -std is added to get
2630 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2631 array size at least. It's necessary to write '\x00'==0 to get something
2632 that's true only with -std. */
2633 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2635 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2636 inside strings and character constants. */
2638 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2640 int test (int i, double x);
2641 struct s1 {int (*f) (int a);};
2642 struct s2 {int (*f) (double a);};
2643 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2649 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2654 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2655 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2657 CC="$ac_save_CC $ac_arg"
2658 if ac_fn_c_try_compile "$LINENO"; then :
2659 ac_cv_prog_cc_c89=$ac_arg
2661 rm -f core conftest.err conftest.$ac_objext
2662 test "x$ac_cv_prog_cc_c89" != "xno" && break
2664 rm -f conftest.$ac_ext
2669 case "x$ac_cv_prog_cc_c89" in
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2672 $as_echo "none needed" >&6; } ;;
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2675 $as_echo "unsupported" >&6; } ;;
2677 CC="$CC $ac_cv_prog_cc_c89"
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2679 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2681 if test "x$ac_cv_prog_cc_c89" != xno; then :
2686 ac_cpp='$CPP $CPPFLAGS'
2687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2693 $as_echo_n "checking target config location... " >&6; }
2695 # Check whether --with-config-dir was given.
2696 if test "${with_config_dir+set}" = set; then :
2697 withval=$with_config_dir; targetcfg_dir="$withval"
2702 if test "$targetcfg_dir" = ""; then
2703 as_fn_error $? "missing config directory!" "$LINENO" 5
2705 aros_targetcfg_dir="$targetcfg_dir"
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2708 $as_echo "$aros_targetcfg_dir" >&6; }
2710 #-----------------------------------------------------------------------------
2712 # Check if the target compiler supports some features:
2715 # -fno-builtin-floor
2719 # -floop-interchange
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2726 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2740 if ac_fn_c_try_compile "$LINENO"; then :
2741 aros_permissive="yes"
2743 aros_permissive="no"
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2747 $as_echo "$aros_permissive" >&6; }
2748 if test "x-$aros_permissive" = "x-yes" ; then
2749 aros_cflags_permissive=-fpermissive
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2753 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2766 if ac_fn_c_try_compile "$LINENO"; then :
2767 aros_fast_math="yes"
2771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2773 $as_echo "$aros_fast_math" >&6; }
2774 if test "x-$aros_fast_math" = "x-yes" ; then
2775 aros_cflags_fast_math=-ffast-math
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2779 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2780 CFLAGS=-fno-builtin-floor
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2792 if ac_fn_c_try_compile "$LINENO"; then :
2793 aros_no_builtin_floor="yes"
2795 aros_no_builtin_floor="no"
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2799 $as_echo "$aros_no_builtin_floor" >&6; }
2800 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2801 aros_cflags_no_builtin_floor=-fno-builtin-floor
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2805 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h. */
2818 if ac_fn_c_try_compile "$LINENO"; then :
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2825 $as_echo "$aros_lto" >&6; }
2826 if test "x-$aros_lto" = "x-yes" ; then
2827 aros_cflags_lto=-flto
2828 aros_cflags_nolto=-fno-lto
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2831 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2832 CFLAGS=-fwhole-program
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2844 if ac_fn_c_try_compile "$LINENO"; then :
2845 aros_whole_program="yes"
2847 aros_whole_program="no"
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2851 $as_echo "$aros_whole_program" >&6; }
2852 if test "x-$aros_whole_program" = "x-yes" ; then
2853 aros_cflags_whole_program=-fwhole-program
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2857 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2870 if ac_fn_c_try_compile "$LINENO"; then :
2871 aros_loop_block="yes"
2873 aros_loop_block="no"
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2877 $as_echo "$aros_loop_block" >&6; }
2878 if test "x-$aros_loop_block" = "x-yes" ; then
2879 aros_cflags_loop_block=-floop-block
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2883 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2884 CFLAGS=-floop-interchange
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2896 if ac_fn_c_try_compile "$LINENO"; then :
2897 aros_loop_interchange="yes"
2899 aros_loop_interchange="no"
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2903 $as_echo "$aros_loop_interchange" >&6; }
2904 if test "x-$aros_loop_interchange" = "x-yes" ; then
2905 aros_cflags_loop_interchange=-floop-interchange
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2909 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2910 CFLAGS=-floop-strip-mine
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 aros_loop_strip_mine="yes"
2925 aros_loop_strip_mine="no"
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2929 $as_echo "$aros_loop_strip_mine" >&6; }
2930 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2931 aros_cflags_loop_strip_mine=-floop-strip-mine
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2936 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2949 if ac_fn_c_try_compile "$LINENO"; then :
2950 aros_peel_loops="yes"
2952 aros_peel_loops="no"
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2956 $as_echo "$aros_peel_loops" >&6; }
2957 if test "x-$aros_peel_loops" = "x-yes" ; then
2958 aros_cflags_peel_loops=-fpeel-loops
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
2962 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
2963 CFLAGS=-funroll-loops
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2975 if ac_fn_c_try_compile "$LINENO"; then :
2976 aros_unroll_loops="yes"
2978 aros_unroll_loops="no"
2980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
2982 $as_echo "$aros_unroll_loops" >&6; }
2983 if test "x-$aros_unroll_loops" = "x-yes" ; then
2984 aros_cflags_unroll_loops=-funroll-loops
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
2988 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
2989 CFLAGS=-fstrict-aliasing
2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2991 /* end confdefs.h. */
3001 if ac_fn_c_try_compile "$LINENO"; then :
3002 aros_strict_aliasing="yes"
3004 aros_strict_aliasing="no"
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3008 $as_echo "$aros_strict_aliasing" >&6; }
3009 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3010 aros_cflags_strictaliasing=-fstrict-aliasing
3011 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3015 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3028 if ac_fn_c_try_compile "$LINENO"; then :
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3035 $as_echo "$has_iquote" >&6; }
3036 if test "x-$has_iquote" = "x-yes" ; then
3037 aros_cflags_iquote=-iquote
3038 aros_cflags_iquote_end=
3040 aros_cflags_iquote=-I
3041 aros_cflags_iquote_end=-I-
3044 #-----------------------------------------------------------------------------
3046 # Check if the target compiler supports some options:
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3050 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3051 CFLAGS=-mno-red-zone
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3063 if ac_fn_c_try_compile "$LINENO"; then :
3064 aros_no_red_zone="yes"
3066 aros_no_red_zone="no"
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3070 $as_echo "$aros_no_red_zone" >&6; }
3071 if test "x-$aros_no_red_zone" = "x-yes" ; then
3072 aros_cflags_no_red_zone=-mno-red-zone
3075 #-----------------------------------------------------------------------------
3077 # Check if the target compiler supports some options used for de-linting:
3078 # -Wunused-command-line-argument
3079 # -Wunknown-warning-option
3080 # -Wunused-but-set-variable
3084 # -Wstrict-prototypes
3087 # -Wmisleading-indentation
3093 # -Wunused-parameter
3095 # -Wmaybe-uninitialized
3096 # -Wimplicit-function-declaration
3101 # -Wformat-contains-nul
3103 # -Waggressive-loop-optimizations
3106 # -Wdiscarded-qualifiers
3109 # -Wdiscarded-array-qualifiers
3111 # -Wint-to-pointer-cast
3112 # -Wpointer-to-int-cast
3113 # -Wunused-const-variable
3116 # -Wincompatible-pointer-types
3118 # -Wlogical-not-parentheses
3122 # -Wdeprecated-declarations
3126 # -Wunused-local-typedefs
3130 # -Wvolatile-register-var
3131 # -Wsizeof-pointer-memaccess
3133 # -Wformat-zero-length
3134 # -Wlto-type-mismatch
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3137 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3138 CFLAGS=-Wunused-command-line-argument
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3150 if ac_fn_c_try_compile "$LINENO"; then :
3151 aros_unused_command_line_argument="yes"
3153 aros_unused_command_line_argument="no"
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3157 $as_echo "$aros_unused_command_line_argument" >&6; }
3158 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3159 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3160 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3164 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3165 CFLAGS=-Wunknown-warning-option
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3177 if ac_fn_c_try_compile "$LINENO"; then :
3178 aros_unknown_warning_option="yes"
3180 aros_unknown_warning_option="no"
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3184 $as_echo "$aros_unknown_warning_option" >&6; }
3185 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3186 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3187 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3191 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3192 CFLAGS=-Wunused-but-set-variable
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3204 if ac_fn_c_try_compile "$LINENO"; then :
3205 aros_unused_but_set_variable="yes"
3207 aros_unused_but_set_variable="no"
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3211 $as_echo "$aros_unused_but_set_variable" >&6; }
3212 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3213 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3214 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3218 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3219 CFLAGS=-Wstrict-aliasing
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3231 if ac_fn_c_try_compile "$LINENO"; then :
3232 aros_strict_aliasing="yes"
3234 aros_strict_aliasing="no"
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3238 $as_echo "$aros_strict_aliasing" >&6; }
3239 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3240 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3241 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3245 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3246 CFLAGS=-Warray-bounds
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3258 if ac_fn_c_try_compile "$LINENO"; then :
3259 aros_array_bounds="yes"
3261 aros_array_bounds="no"
3263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3265 $as_echo "$aros_array_bounds" >&6; }
3266 if test "x-$aros_array_bounds" = "x-yes" ; then
3267 aros_warnflags_array_bounds=-Warray-bounds
3268 aros_nowarnflags_array_bounds=-Wno-array-bounds
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3272 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3273 CFLAGS=-Wenum-compare
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3285 if ac_fn_c_try_compile "$LINENO"; then :
3286 aros_enum_compare="yes"
3288 aros_enum_compare="no"
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3292 $as_echo "$aros_enum_compare" >&6; }
3293 if test "x-$aros_enum_compare" = "x-yes" ; then
3294 aros_warnflags_enum_compare=-Wenum-compare
3295 aros_nowarnflags_enum_compare=-Wno-enum-compare
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3299 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3300 CFLAGS=-Wstrict-prototypes
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3312 if ac_fn_c_try_compile "$LINENO"; then :
3313 aros_strict_prototypes="yes"
3315 aros_strict_prototypes="no"
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3319 $as_echo "$aros_strict_prototypes" >&6; }
3320 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3321 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3322 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3326 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3327 CFLAGS=-Wstrict-overflow
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3339 if ac_fn_c_try_compile "$LINENO"; then :
3340 aros_strict_overflow="yes"
3342 aros_strict_overflow="no"
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3346 $as_echo "$aros_strict_overflow" >&6; }
3347 if test "x-$aros_strict_overflow" = "x-yes" ; then
3348 aros_warnflags_strict_overflow=-Wstrict-overflow
3349 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3353 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3354 CFLAGS=-Wformat-security
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3366 if ac_fn_c_try_compile "$LINENO"; then :
3367 aros_format_security="yes"
3369 aros_format_security="no"
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3373 $as_echo "$aros_format_security" >&6; }
3374 if test "x-$aros_format_security" = "x-yes" ; then
3375 aros_warnflags_format_security=-Wformat-security
3376 aros_nowarnflags_format_security=-Wno-format-security
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3380 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3381 CFLAGS=-Wmisleading-indentation
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3393 if ac_fn_c_try_compile "$LINENO"; then :
3394 aros_misleading_indentation="yes"
3396 aros_misleading_indentation="no"
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3400 $as_echo "$aros_misleading_indentation" >&6; }
3401 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3402 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3403 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3407 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3408 CFLAGS=-Wnonnull-compare
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3420 if ac_fn_c_try_compile "$LINENO"; then :
3421 aros_nonnull_compare="yes"
3423 aros_nonnull_compare="no"
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3427 $as_echo "$aros_nonnull_compare" >&6; }
3428 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3429 aros_warnflags_nonnull_compare=-Wnonnull-compare
3430 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3434 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3447 if ac_fn_c_try_compile "$LINENO"; then :
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3454 $as_echo "$aros_unused" >&6; }
3455 if test "x-$aros_unused" = "x-yes" ; then
3456 aros_warnflags_unused=-Wunused
3457 aros_nowarnflags_unused=-Wno-unused
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3461 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3462 CFLAGS=-Wunused-value
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3474 if ac_fn_c_try_compile "$LINENO"; then :
3475 aros_unused_value="yes"
3477 aros_unused_value="no"
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3481 $as_echo "$aros_unused_value" >&6; }
3482 if test "x-$aros_unused_value" = "x-yes" ; then
3483 aros_warnflags_unused_value=-Wunused-value
3484 aros_nowarnflags_unused_value=-Wno-unused-value
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3488 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3489 CFLAGS=-Wunused-variable
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3501 if ac_fn_c_try_compile "$LINENO"; then :
3502 aros_unused_variable="yes"
3504 aros_unused_variable="no"
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3508 $as_echo "$aros_unused_variable" >&6; }
3509 if test "x-$aros_unused_variable" = "x-yes" ; then
3510 aros_warnflags_unused_variable=-Wunused-variable
3511 aros_nowarnflags_unused_variable=-Wno-unused-variable
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3515 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3516 CFLAGS=-Wunused-function
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3528 if ac_fn_c_try_compile "$LINENO"; then :
3529 aros_unused_function="yes"
3531 aros_unused_function="no"
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3535 $as_echo "$aros_unused_function" >&6; }
3536 if test "x-$aros_unused_function" = "x-yes" ; then
3537 aros_warnflags_unused_function=-Wunused-function
3538 aros_nowarnflags_unused_function=-Wno-unused-function
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3542 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3543 CFLAGS=-Wunused-parameter
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3555 if ac_fn_c_try_compile "$LINENO"; then :
3556 aros_unused_parameter="yes"
3558 aros_unused_parameter="no"
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3562 $as_echo "$aros_unused_parameter" >&6; }
3563 if test "x-$aros_unused_parameter" = "x-yes" ; then
3564 aros_warnflags_unused_parameter=-Wunused-parameter
3565 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3569 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3570 CFLAGS=-Wuninitialized
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3582 if ac_fn_c_try_compile "$LINENO"; then :
3583 aros_uninitialized="yes"
3585 aros_uninitialized="no"
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3589 $as_echo "$aros_uninitialized" >&6; }
3590 if test "x-$aros_uninitialized" = "x-yes" ; then
3591 aros_warnflags_uninitialized=-Wuninitialized
3592 aros_nowarnflags_uninitialized=-Wno-uninitialized
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3596 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3597 CFLAGS=-Wmaybe-uninitialized
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610 aros_maybe_uninitialized="yes"
3612 aros_maybe_uninitialized="no"
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3616 $as_echo "$aros_maybe_uninitialized" >&6; }
3617 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3618 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3619 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3621 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3622 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3626 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3627 CFLAGS=-Wimplicit-function-declaration
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3639 if ac_fn_c_try_compile "$LINENO"; then :
3640 aros_implicit_function_declaration="yes"
3642 aros_implicit_function_declaration="no"
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3646 $as_echo "$aros_implicit_function_declaration" >&6; }
3647 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3648 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3649 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3653 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3666 if ac_fn_c_try_compile "$LINENO"; then :
3671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3673 $as_echo "$aros_format" >&6; }
3674 if test "x-$aros_format" = "x-yes" ; then
3675 aros_warnflags_format=-Wformat
3676 aros_nowarnflags_format=-Wno-format
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3680 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3681 CFLAGS=-Wparentheses
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3693 if ac_fn_c_try_compile "$LINENO"; then :
3694 aros_parentheses="yes"
3696 aros_parentheses="no"
3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3700 $as_echo "$aros_parentheses" >&6; }
3701 if test "x-$aros_parentheses" = "x-yes" ; then
3702 aros_warnflags_parentheses=-Wparentheses
3703 aros_nowarnflags_parentheses=-Wno-parentheses
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3707 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3708 CFLAGS=-Wchar-subscripts
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 aros_char_subscripts="yes"
3723 aros_char_subscripts="no"
3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3727 $as_echo "$aros_char_subscripts" >&6; }
3728 if test "x-$aros_char_subscripts" = "x-yes" ; then
3729 aros_warnflags_char_subscripts=-Wchar-subscripts
3730 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3734 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3735 CFLAGS=-Wendif-labels
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3747 if ac_fn_c_try_compile "$LINENO"; then :
3748 aros_endif_labels="yes"
3750 aros_endif_labels="no"
3752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3754 $as_echo "$aros_endif_labels" >&6; }
3755 if test "x-$aros_endif_labels" = "x-yes" ; then
3756 aros_warnflags_endif_labels=-Wendif-labels
3757 aros_nowarnflags_endif_labels=-Wno-endif-labels
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3761 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3762 CFLAGS=-Wformat-contains-nul
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3774 if ac_fn_c_try_compile "$LINENO"; then :
3775 aros_format_contains_nul="yes"
3777 aros_format_contains_nul="no"
3779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3781 $as_echo "$aros_format_contains_nul" >&6; }
3782 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3783 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3784 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3788 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3789 CFLAGS=-Wimplicit-int
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3801 if ac_fn_c_try_compile "$LINENO"; then :
3802 aros_implicit_int="yes"
3804 aros_implicit_int="no"
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3808 $as_echo "$aros_implicit_int" >&6; }
3809 if test "x-$aros_implicit_int" = "x-yes" ; then
3810 aros_warnflags_implicit_int=-Wimplicit-int
3811 aros_nowarnflags_implicit_int=-Wno-implicit-int
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3815 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3816 CFLAGS=-Waggressive-loop-optimizations
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3828 if ac_fn_c_try_compile "$LINENO"; then :
3829 aros_aggressive_loop_optimizations="yes"
3831 aros_aggressive_loop_optimizations="no"
3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3835 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3836 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3837 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3838 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3842 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845 /* end confdefs.h. */
3855 if ac_fn_c_try_compile "$LINENO"; then :
3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3862 $as_echo "$aros_cpp" >&6; }
3863 if test "x-$aros_cpp" = "x-yes" ; then
3864 aros_warnflags_cpp=-Wcpp
3865 aros_nowarnflags_cpp=-Wno-cpp
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3869 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3882 if ac_fn_c_try_compile "$LINENO"; then :
3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3889 $as_echo "$aros_switch" >&6; }
3890 if test "x-$aros_switch" = "x-yes" ; then
3891 aros_warnflags_switch=-Wswitch
3892 aros_nowarnflags_switch=-Wno-switch
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3896 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3897 CFLAGS=-Wdiscarded-qualifiers
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 if ac_fn_c_try_compile "$LINENO"; then :
3910 aros_discarded_qualifiers="yes"
3912 aros_discarded_qualifiers="no"
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3916 $as_echo "$aros_discarded_qualifiers" >&6; }
3917 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3918 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
3919 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3923 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3924 CFLAGS=-Wsequence-point
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3936 if ac_fn_c_try_compile "$LINENO"; then :
3937 aros_sequence_point="yes"
3939 aros_sequence_point="no"
3941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3943 $as_echo "$aros_sequence_point" >&6; }
3944 if test "x-$aros_sequence_point" = "x-yes" ; then
3945 aros_warnflags_sequence_point=-Wsequence-point
3946 aros_nowarnflags_sequence_point=-Wno-sequence-point
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3950 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3951 CFLAGS=-Wunknown-pragmas
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3963 if ac_fn_c_try_compile "$LINENO"; then :
3964 aros_unknown_pragmas="yes"
3966 aros_unknown_pragmas="no"
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3970 $as_echo "$aros_unknown_pragmas" >&6; }
3971 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3972 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
3973 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3977 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3978 CFLAGS=-Wdiscarded-array-qualifiers
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3990 if ac_fn_c_try_compile "$LINENO"; then :
3991 aros_discarded_array_qualifiers="yes"
3993 aros_discarded_array_qualifiers="no"
3995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3997 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3998 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3999 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4000 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4004 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4005 CFLAGS=-Wint-conversion
4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4017 if ac_fn_c_try_compile "$LINENO"; then :
4018 aros_int_conversion="yes"
4020 aros_int_conversion="no"
4022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4024 $as_echo "$aros_int_conversion" >&6; }
4025 if test "x-$aros_int_conversion" = "x-yes" ; then
4026 aros_warnflags_int_conversion=-Wint-conversion
4027 aros_nowarnflags_int_conversion=-Wno-int-conversion
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4031 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4032 CFLAGS=-Wint-to-pointer-cast
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4044 if ac_fn_c_try_compile "$LINENO"; then :
4045 aros_int_to_pointer_cast="yes"
4047 aros_int_to_pointer_cast="no"
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4051 $as_echo "$aros_int_to_pointer_cast" >&6; }
4052 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4053 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4054 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4058 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4059 CFLAGS=-Wpointer-to-int-cast
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4071 if ac_fn_c_try_compile "$LINENO"; then :
4072 aros_pointer_to_int_cast="yes"
4074 aros_pointer_to_int_cast="no"
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4078 $as_echo "$aros_pointer_to_int_cast" >&6; }
4079 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4080 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4081 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4085 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4086 CFLAGS=-Wunused-const-variable
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4098 if ac_fn_c_try_compile "$LINENO"; then :
4099 aros_unused_const_variable="yes"
4101 aros_unused_const_variable="no"
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4105 $as_echo "$aros_unused_const_variable" >&6; }
4106 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4107 aros_warnflags_unused_const_variable=-Wunused-const-variable
4108 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4112 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4113 CFLAGS=-Wwrite-strings
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 aros_write_strings="yes"
4128 aros_write_strings="no"
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4132 $as_echo "$aros_write_strings" >&6; }
4133 if test "x-$aros_write_strings" = "x-yes" ; then
4134 aros_warnflags_write_strings=-Wwrite-strings
4135 aros_nowarnflags_write_strings=-Wno-write-strings
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4139 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4152 if ac_fn_c_try_compile "$LINENO"; then :
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4159 $as_echo "$aros_comment" >&6; }
4160 if test "x-$aros_comment" = "x-yes" ; then
4161 aros_warnflags_comment=-Wcomment
4162 aros_nowarnflags_comment=-Wno-comment
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4166 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4167 CFLAGS=-Wincompatible-pointer-types
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180 aros_incompatible_pointer_types="yes"
4182 aros_incompatible_pointer_types="no"
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4186 $as_echo "$aros_incompatible_pointer_types" >&6; }
4187 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4188 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4189 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4193 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4194 CFLAGS=-Wbool-compare
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4206 if ac_fn_c_try_compile "$LINENO"; then :
4207 aros_bool_compare="yes"
4209 aros_bool_compare="no"
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4213 $as_echo "$aros_bool_compare" >&6; }
4214 if test "x-$aros_bool_compare" = "x-yes" ; then
4215 aros_warnflags_bool_compare=-Wbool-compare
4216 aros_nowarnflags_bool_compare=-Wno-bool-compare
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4220 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4221 CFLAGS=-Wlogical-not-parentheses
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 aros_logical_not_parentheses="yes"
4236 aros_logical_not_parentheses="no"
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4240 $as_echo "$aros_logical_not_parentheses" >&6; }
4241 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4242 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4243 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4247 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4248 CFLAGS=-Wpointer-sign
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4260 if ac_fn_c_try_compile "$LINENO"; then :
4261 aros_pointer_sign="yes"
4263 aros_pointer_sign="no"
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4267 $as_echo "$aros_pointer_sign" >&6; }
4268 if test "x-$aros_pointer_sign" = "x-yes" ; then
4269 aros_warnflags_pointer_sign=-Wpointer-sign
4270 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4274 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4275 CFLAGS=-Wshift-overflow
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4287 if ac_fn_c_try_compile "$LINENO"; then :
4288 aros_shift_overflow="yes"
4290 aros_shift_overflow="no"
4292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4294 $as_echo "$aros_shift_overflow" >&6; }
4295 if test "x-$aros_shift_overflow" = "x-yes" ; then
4296 aros_warnflags_shift_overflow=-Wshift-overflow
4297 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4301 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4302 CFLAGS=-Wframe-address
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315 aros_frame_address="yes"
4317 aros_frame_address="no"
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4321 $as_echo "$aros_frame_address" >&6; }
4322 if test "x-$aros_frame_address" = "x-yes" ; then
4323 aros_warnflags_frame_address=-Wframe-address
4324 aros_nowarnflags_frame_address=-Wno-frame-address
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4328 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4329 CFLAGS=-Wdeprecated-declarations
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4341 if ac_fn_c_try_compile "$LINENO"; then :
4342 aros_deprecated_declarations="yes"
4344 aros_deprecated_declarations="no"
4346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4348 $as_echo "$aros_deprecated_declarations" >&6; }
4349 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4350 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4351 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4355 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4356 CFLAGS=-Wsign-compare
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4368 if ac_fn_c_try_compile "$LINENO"; then :
4369 aros_sign_compare="yes"
4371 aros_sign_compare="no"
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4375 $as_echo "$aros_sign_compare" >&6; }
4376 if test "x-$aros_sign_compare" = "x-yes" ; then
4377 aros_warnflags_sign_compare=-Wsign-compare
4378 aros_nowarnflags_sign_compare=-Wno-sign-compare
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4382 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4395 if ac_fn_c_try_compile "$LINENO"; then :
4396 aros_attributes="yes"
4398 aros_attributes="no"
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4402 $as_echo "$aros_attributes" >&6; }
4403 if test "x-$aros_attributes" = "x-yes" ; then
4404 aros_warnflags_attributes=-Wattributes
4405 aros_nowarnflags_attributes=-Wno-attributes
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4409 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4422 if ac_fn_c_try_compile "$LINENO"; then :
4427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4429 $as_echo "$aros_overflow" >&6; }
4430 if test "x-$aros_overflow" = "x-yes" ; then
4431 aros_warnflags_overflow=-Woverflow
4432 aros_nowarnflags_overflow=-Wno-overflow
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4436 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4437 CFLAGS=-Wunused-local-typedefs
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4449 if ac_fn_c_try_compile "$LINENO"; then :
4450 aros_unused_local_typedefs="yes"
4452 aros_unused_local_typedefs="no"
4454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4456 $as_echo "$aros_unused_local_typedefs" >&6; }
4457 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4458 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4459 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4463 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4464 CFLAGS=-Wmissing-braces
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4476 if ac_fn_c_try_compile "$LINENO"; then :
4477 aros_missing_braces="yes"
4479 aros_missing_braces="no"
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4483 $as_echo "$aros_missing_braces" >&6; }
4484 if test "x-$aros_missing_braces" = "x-yes" ; then
4485 aros_warnflags_missing_braces=-Wmissing-braces
4486 aros_nowarnflags_missing_braces=-Wno-missing-braces
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4490 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4491 CFLAGS=-Wconversion-null
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4503 if ac_fn_c_try_compile "$LINENO"; then :
4504 aros_conversion_null="yes"
4506 aros_conversion_null="no"
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4510 $as_echo "$aros_conversion_null" >&6; }
4511 if test "x-$aros_conversion_null" = "x-yes" ; then
4512 aros_warnflags_conversion_null=-Wconversion-null
4513 aros_nowarnflags_conversion_null=-Wno-conversion-null
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4517 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4530 if ac_fn_c_try_compile "$LINENO"; then :
4531 aros_narrowing="yes"
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4537 $as_echo "$aros_narrowing" >&6; }
4538 if test "x-$aros_narrowing" = "x-yes" ; then
4539 aros_warnflags_narrowing=-Wnarrowing
4540 aros_nowarnflags_narrowing=-Wno-narrowing
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4544 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4545 CFLAGS=-Wvolatile-register-var
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4557 if ac_fn_c_try_compile "$LINENO"; then :
4558 aros_volatile_register_var="yes"
4560 aros_volatile_register_var="no"
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4564 $as_echo "$aros_volatile_register_var" >&6; }
4565 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4566 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4567 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4571 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4572 CFLAGS=-Wsizeof-pointer-memaccess
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585 aros_sizeof_pointer_memaccess="yes"
4587 aros_sizeof_pointer_memaccess="no"
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4591 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4592 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4593 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4594 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4598 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4599 CFLAGS=-Wreturn-type
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4611 if ac_fn_c_try_compile "$LINENO"; then :
4612 aros_return_type="yes"
4614 aros_return_type="no"
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4618 $as_echo "$aros_return_type" >&6; }
4619 if test "x-$aros_return_type" = "x-yes" ; then
4620 aros_warnflags_return_type=-Wreturn-type
4621 aros_nowarnflags_return_type=-Wno-return-type
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4625 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4626 CFLAGS=-Wformat-zero-length
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4638 if ac_fn_c_try_compile "$LINENO"; then :
4639 aros_format_zero_length="yes"
4641 aros_format_zero_length="no"
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4645 $as_echo "$aros_format_zero_length" >&6; }
4646 if test "x-$aros_format_zero_length" = "x-yes" ; then
4647 aros_warnflags_format_zero_length=-Wformat-zero-length
4648 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4652 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4653 CFLAGS=-Wlto-type-mismatch
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4665 if ac_fn_c_try_compile "$LINENO"; then :
4666 aros_lto_type_mismatch="yes"
4668 aros_lto_type_mismatch="no"
4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4672 $as_echo "$aros_lto_type_mismatch" >&6; }
4673 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4674 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4675 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4679 # export the feature flags...
4700 # export the feature options...
4705 # ...and warning flags...
4822 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4825 cat >confcache <<\_ACEOF
4826 # This file is a shell script that caches the results of configure
4827 # tests run on this system so they can be shared between configure
4828 # scripts and configure runs, see configure's option --config-cache.
4829 # It is not useful on other systems. If it contains results you don't
4830 # want to keep, you may remove or edit it.
4832 # config.status only pays attention to the cache file if you give it
4833 # the --recheck option to rerun configure.
4835 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4836 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4841 # The following way of writing the cache mishandles newlines in values,
4842 # but we know of no workaround that is simple, portable, and efficient.
4843 # So, we kill variables containing newlines.
4844 # Ultrix sh set writes to stderr and can't be redirected directly,
4845 # and sets the high bit in the cache file unless we assign to the vars.
4847 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4848 eval ac_val
=\$
$ac_var
4852 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4853 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4856 _ | IFS | as_nl
) ;; #(
4857 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4858 *) { eval $ac_var=; unset $ac_var;} ;;
4864 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4865 *${as_nl}ac_space
=\
*)
4866 # `set' does not quote correctly, so add quotes: double-quote
4867 # substitution turns \\\\ into \\, and sed turns \\ into \.
4870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4873 # `set' quotes correctly as required by POSIX, so do not add quotes.
4874 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4883 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4885 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4887 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4888 if test -w "$cache_file"; then
4889 if test "x$cache_file" != "x/dev/null"; then
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4891 $as_echo "$as_me: updating cache $cache_file" >&6;}
4892 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4893 cat confcache
>"$cache_file"
4895 case $cache_file in #(
4897 mv -f confcache
"$cache_file"$$
&&
4898 mv -f "$cache_file"$$
"$cache_file" ;; #(
4900 mv -f confcache
"$cache_file" ;;
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4906 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4911 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4912 # Let make expand exec_prefix.
4913 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4915 # Transform confdefs.h into DEFS.
4916 # Protect against shell expansion while executing Makefile rules.
4917 # Protect against Makefile macro expansion.
4919 # If the first sed substitution is executed (which looks for macros that
4920 # take arguments), then branch to the quote section. Otherwise,
4921 # look for a macro that doesn't take arguments.
4931 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4933 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4937 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4950 DEFS
=`sed -n "$ac_script" confdefs.h`
4956 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4957 # 1. Remove the extension, and $U if already installed.
4958 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4959 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4960 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4961 # will be set to the directory where LIBOBJS objects are built.
4962 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4963 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4967 LTLIBOBJS
=$ac_ltlibobjs
4971 : "${CONFIG_STATUS=./config.status}"
4973 ac_clean_files_save
=$ac_clean_files
4974 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4976 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4978 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4980 # Generated by $as_me.
4981 # Run this file to recreate the current configuration.
4982 # Compiler output produced by configure, useful for debugging
4983 # configure, is in config.log if it exists.
4989 SHELL=\${CONFIG_SHELL-$SHELL}
4992 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4993 ## -------------------- ##
4994 ## M4sh Initialization. ##
4995 ## -------------------- ##
4997 # Be more Bourne compatible
4998 DUALCASE
=1; export DUALCASE
# for MKS sh
4999 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5002 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5003 # is contrary to our usage. Disable this feature.
5004 alias -g '${1+"$@"}'='"$@"'
5005 setopt NO_GLOB_SUBST
5007 case `(set -o) 2>/dev/null` in #(
5019 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5020 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5021 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5023 # Prefer a ksh shell builtin over an external printf program on Solaris,
5024 # but without wasting forks for bash or zsh.
5025 if test -z "$BASH_VERSION$ZSH_VERSION" \
5026 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5027 as_echo='print
-r --'
5028 as_echo_n='print
-rn --'
5029 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5030 as_echo='printf %s
\n'
5031 as_echo_n='printf %s
'
5033 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5034 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5035 as_echo_n='/usr
/ucb
/echo -n'
5037 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5038 as_echo_n_body='eval
5042 expr "X$arg" : "X\\(.*\\)$as_nl";
5043 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5045 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5047 export as_echo_n_body
5048 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5051 as_echo='sh
-c $as_echo_body as_echo
'
5054 # The user is always right.
5055 if test "${PATH_SEPARATOR+set}" != set; then
5057 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5058 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5065 # We need space, tab and new line, in precisely that order. Quoting is
5066 # there to prevent editors from complaining about space-tab.
5067 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5068 # splitting by setting IFS to empty value.)
5071 # Find who we are. Look in the path if we contain no directory separator.
5074 *[\\/]* ) as_myself=$0 ;;
5075 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir=.
5080 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5086 # We did not find ourselves, most probably we were run as `sh COMMAND'
5087 # in which case we are not to be found in the path.
5088 if test "x$as_myself" = x
; then
5091 if test ! -f "$as_myself"; then
5092 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5096 # Unset variables that we do not need and which cause bugs (e.g. in
5097 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5098 # suppresses any "Segmentation fault" message there. '((' could
5099 # trigger a bug in pdksh 5.2.14.
5100 for as_var
in BASH_ENV ENV MAIL MAILPATH
5101 do eval test x\
${$as_var+set} = xset \
5102 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5115 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5118 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5119 # ----------------------------------------
5120 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5121 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5122 # script with STATUS, using 1 if that was 0.
5125 as_status
=$1; test $as_status -eq 0 && as_status
=1
5127 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5128 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5130 $as_echo "$as_me: error: $2" >&2
5131 as_fn_exit
$as_status
5135 # as_fn_set_status STATUS
5136 # -----------------------
5137 # Set $? to STATUS, without forking.
5141 } # as_fn_set_status
5145 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5155 # Portably unset VAR.
5158 { eval $1=; unset $1;}
5160 as_unset
=as_fn_unset
5161 # as_fn_append VAR VALUE
5162 # ----------------------
5163 # Append the text in VALUE to the end of the definition contained in VAR. Take
5164 # advantage of any shell optimizations that allow amortized linear growth over
5165 # repeated appends, instead of the typical quadratic growth present in naive
5167 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5168 eval 'as_fn_append ()
5179 # as_fn_arith ARG...
5180 # ------------------
5181 # Perform arithmetic evaluation on the ARGs, and store the result in the
5182 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5183 # must be portable across $(()) and expr.
5184 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5185 eval 'as_fn_arith ()
5192 as_val
=`expr "$@" || test $? -eq 1`
5197 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5198 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5204 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5205 as_basename
=basename
5210 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5216 as_me
=`$as_basename -- "$0" ||
5217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5218 X"$0" : 'X\(//\)$' \| \
5219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5221 sed '/^.*\/\([^/][^/]*\)\/*$/{
5235 # Avoid depending upon Character Ranges.
5236 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5237 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5238 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5239 as_cr_digits
='0123456789'
5240 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5242 ECHO_C
= ECHO_N
= ECHO_T
=
5243 case `echo -n x` in #(((((
5245 case `echo 'xy\c'` in
5246 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5248 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5255 rm -f conf$$ conf$$.exe conf$$.
file
5256 if test -d conf$$.dir
; then
5257 rm -f conf$$.dir
/conf$$.
file
5260 mkdir conf$$.dir
2>/dev
/null
5262 if (echo >conf$$.
file) 2>/dev
/null
; then
5263 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5265 # ... but there are two gotchas:
5266 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5267 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5268 # In both cases, we have to default to `cp -pR'.
5269 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5271 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5279 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5280 rmdir conf$$.dir
2>/dev
/null
5285 # Create "$as_dir" as a directory, including parents if necessary.
5290 -*) as_dir
=.
/$as_dir;;
5292 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5296 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5297 *) as_qdir
=$as_dir;;
5299 as_dirs
="'$as_qdir' $as_dirs"
5300 as_dir
=`$as_dirname -- "$as_dir" ||
5301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5302 X"$as_dir" : 'X\(//\)[^/]' \| \
5303 X"$as_dir" : 'X\(//\)$' \| \
5304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5305 $as_echo X"$as_dir" |
5306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5323 test -d "$as_dir" && break
5325 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5326 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5330 if mkdir
-p .
2>/dev
/null
; then
5331 as_mkdir_p
='mkdir -p "$as_dir"'
5333 test -d .
/-p && rmdir .
/-p
5338 # as_fn_executable_p FILE
5339 # -----------------------
5340 # Test if FILE is an executable regular file.
5341 as_fn_executable_p
()
5343 test -f "$1" && test -x "$1"
5344 } # as_fn_executable_p
5346 as_executable_p
=as_fn_executable_p
5348 # Sed expression to map a string onto a valid CPP name.
5349 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5351 # Sed expression to map a string onto a valid variable name.
5352 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5356 ## ----------------------------------- ##
5357 ## Main body of $CONFIG_STATUS script. ##
5358 ## ----------------------------------- ##
5360 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5363 # Save the log message, to keep $0 and so on meaningful, and to
5364 # report actual input values of CONFIG_FILES etc. instead of their
5365 # values after options handling.
5367 This file was extended by $as_me, which was
5368 generated by GNU Autoconf 2.69. Invocation command line was
5370 CONFIG_FILES = $CONFIG_FILES
5371 CONFIG_HEADERS = $CONFIG_HEADERS
5372 CONFIG_LINKS = $CONFIG_LINKS
5373 CONFIG_COMMANDS = $CONFIG_COMMANDS
5376 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5381 case $ac_config_files in *"
5382 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5388 # Files that config.status was made for.
5389 config_files="$ac_config_files"
5393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5395 \`$as_me' instantiates files and other configuration actions
5396 from templates according to the current configuration. Unless the files
5397 and actions are specified as TAGs, all are instantiated by default.
5399 Usage: $0 [OPTION]... [TAG]...
5401 -h, --help print this help, then exit
5402 -V, --version print version number and configuration settings, then exit
5403 --config print configuration, then exit
5404 -q, --quiet, --silent
5405 do not print progress messages
5406 -d, --debug don't remove temporary files
5407 --recheck update $as_me by reconfiguring in the same conditions
5408 --file=FILE[:TEMPLATE]
5409 instantiate the configuration file FILE
5411 Configuration files:
5414 Report bugs to the package provider."
5417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5418 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5421 configured by $0, generated by GNU Autoconf 2.69,
5422 with options \\"\$ac_cs_config\\"
5424 Copyright (C) 2012 Free Software Foundation, Inc.
5425 This config.status script is free software; the Free Software Foundation
5426 gives unlimited permission to copy, distribute and modify it."
5430 test -n "\$AWK" || AWK=awk
5433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5434 # The default lists apply if the user does not specify any file.
5440 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5441 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5445 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5457 # Handling of the options.
5458 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5460 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5461 $as_echo "$ac_cs_version"; exit ;;
5462 --config |
--confi |
--conf |
--con |
--co |
--c )
5463 $as_echo "$ac_cs_config"; exit ;;
5464 --debug |
--debu |
--deb |
--de |
--d |
-d )
5466 --file |
--fil |
--fi |
--f )
5469 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5470 '') as_fn_error $?
"missing file argument" ;;
5472 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5473 ac_need_defaults
=false
;;
5474 --he |
--h |
--help |
--hel |
-h )
5475 $as_echo "$ac_cs_usage"; exit ;;
5476 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5477 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5481 -*) as_fn_error $?
"unrecognized option: \`$1'
5482 Try \`$0 --help' for more information." ;;
5484 *) as_fn_append ac_config_targets
" $1"
5485 ac_need_defaults
=false
;;
5491 ac_configure_extra_args
=
5493 if $ac_cs_silent; then
5495 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5500 if \$ac_cs_recheck; then
5501 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5503 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5504 CONFIG_SHELL='$SHELL'
5510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5514 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5515 ## Running $as_me. ##
5521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5526 # Handling of arguments.
5527 for ac_config_target
in $ac_config_targets
5529 case $ac_config_target in
5530 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5532 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5537 # If the user did not use the arguments to specify the items to instantiate,
5538 # then the envvar interface is used. Set only those that are not.
5539 # We use the long form for the default assignment because of an extremely
5540 # bizarre bug on SunOS 4.1.3.
5541 if $ac_need_defaults; then
5542 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5545 # Have a temporary directory for convenience. Make it in the build tree
5546 # simply because there is no reason against having it here, and in addition,
5547 # creating and moving files from /tmp can sometimes cause problems.
5548 # Hook for its removal unless debugging.
5549 # Note that there is a small window in which the directory will not be cleaned:
5550 # after its creation but before its name has been assigned to `$tmp'.
5554 trap 'exit_status=$?
5556 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5558 trap 'as_fn_exit 1' 1 2 13 15
5560 # Create a (secure) tmp directory for tmp files.
5563 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5567 tmp
=.
/conf$$
-$RANDOM
5568 (umask 077 && mkdir
"$tmp")
5569 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5572 # Set up the scripts for CONFIG_FILES section.
5573 # No need to generate them if there are no CONFIG_FILES.
5574 # This happens for instance with `./config.status config.h'.
5575 if test -n "$CONFIG_FILES"; then
5578 ac_cr
=`echo X | tr X '\015'`
5579 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5580 # But we know of no other shell where ac_cr would be empty at this
5581 # point, so we can use a bashism as a fallback.
5582 if test "x$ac_cr" = x
; then
5583 eval ac_cr
=\$
\'\\r
\'
5585 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5586 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5592 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5597 echo "cat >conf$$subs.awk <<_ACEOF" &&
5598 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5601 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5602 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5604 for ac_last_try in false false false false false :; do
5605 . ./conf$$subs.sh ||
5606 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5608 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5609 if test $ac_delim_n = $ac_delim_num; then
5611 elif $ac_last_try; then
5612 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5614 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5620 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5624 s/^/S["/; s
/!.
*/"]=/
5634 s/\(.\{148\}\)..*/\1/
5636 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5641 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5648 s/\(.\{148\}\)..*/\1/
5650 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5654 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5659 ' <conf$$subs.awk | sed '
5664 ' >>$CONFIG_STATUS || ac_write_fail=1
5665 rm -f conf$$subs.awk
5666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5668 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5669 for (key in S) S_is_set[key] = 1
5675 nfields = split(line, field, "@
")
5677 len = length(field[1])
5678 for (i = 2; i < nfields; i++) {
5680 keylen = length(key)
5681 if (S_is_set[key]) {
5683 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5684 len += length(value) + length(field[++i])
5695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5696 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5697 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5700 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5701 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5704 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5705 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5706 # trailing colons and then remove the whole line if VPATH becomes empty
5707 # (actually we leave an empty line to preserve line numbers).
5708 if test "x
$srcdir" = x.; then
5709 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5728 fi # test -n "$CONFIG_FILES"
5731 eval set X " :F
$CONFIG_FILES "
5736 :[FHLC]) ac_mode=$ac_tag; continue;;
5738 case $ac_mode$ac_tag in
5740 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5741 :[FH]-) ac_tag=-:-;;
5742 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5759 -) ac_f="$ac_tmp/stdin";;
5760 *) # Look for the file first in the build tree, then in the source tree
5761 # (if the path is not absolute). The absolute path cannot be DOS-style,
5762 # because $ac_f cannot contain `:'.
5766 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5768 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5770 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5771 as_fn_append ac_file_inputs " '$ac_f'"
5774 # Let's still pretend it is `configure' which instantiates (i.e., don't
5775 # use $as_me), people would be surprised to read:
5776 # /* config.h. Generated by config.status. */
5777 configure_input='Generated from '`
5778 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5780 if test x"$ac_file" != x-; then
5781 configure_input="$ac_file.
$configure_input"
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5783 $as_echo "$as_me: creating
$ac_file" >&6;}
5785 # Neutralize special characters interpreted by sed in replacement strings.
5786 case $configure_input in #(
5787 *\&* | *\|* | *\\* )
5788 ac_sed_conf_input=`$as_echo "$configure_input" |
5789 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5790 *) ac_sed_conf_input=$configure_input;;
5794 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5795 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5800 ac_dir=`$as_dirname -- "$ac_file" ||
5801 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5802 X"$ac_file" : 'X\(//\)[^/]' \| \
5803 X"$ac_file" : 'X\(//\)$' \| \
5804 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5805 $as_echo X"$ac_file" |
5806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5823 as_dir="$ac_dir"; as_fn_mkdir_p
5827 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5829 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5830 # A "..
" for each directory in $ac_dir_suffix.
5831 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5832 case $ac_top_builddir_sub in
5833 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5834 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5837 ac_abs_top_builddir=$ac_pwd
5838 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5839 # for backward compatibility:
5840 ac_top_builddir=$ac_top_build_prefix
5843 .) # We are building in place.
5845 ac_top_srcdir=$ac_top_builddir_sub
5846 ac_abs_top_srcdir=$ac_pwd ;;
5847 [\\/]* | ?:[\\/]* ) # Absolute name.
5848 ac_srcdir=$srcdir$ac_dir_suffix;
5849 ac_top_srcdir=$srcdir
5850 ac_abs_top_srcdir=$srcdir ;;
5852 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5853 ac_top_srcdir=$ac_top_build_prefix$srcdir
5854 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5856 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5868 # If the template does not know about datarootdir, expand it.
5869 # FIXME: This hack should be removed a few years after 2.60.
5870 ac_datarootdir_hack=; ac_datarootdir_seen=
5881 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5882 *datarootdir*) ac_datarootdir_seen=yes;;
5883 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5885 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5888 ac_datarootdir_hack='
5889 s&@datadir@&$datadir&g
5890 s&@docdir@&$docdir&g
5891 s&@infodir@&$infodir&g
5892 s&@localedir@&$localedir&g
5893 s&@mandir@&$mandir&g
5894 s&\\\${datarootdir}&$datarootdir&g' ;;
5898 # Neutralize VPATH when `$srcdir' = `.'.
5899 # Shell code in configure.ac might set extrasub.
5900 # FIXME: do we really want to maintain this feature?
5901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5902 ac_sed_extra="$ac_vpsub
5905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5907 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5908 s|@configure_input@|
$ac_sed_conf_input|
;t t
5909 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5910 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5911 s
&@srcdir@
&$ac_srcdir&;t t
5912 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5913 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5914 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5915 s
&@builddir@
&$ac_builddir&;t t
5916 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5917 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5918 $ac_datarootdir_hack
5920 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5921 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5923 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5924 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5925 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5926 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5928 which seems to be undefined. Please make sure it is defined" >&5
5929 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5930 which seems to be undefined. Please make sure it is defined" >&2;}
5932 rm -f "$ac_tmp/stdin"
5934 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5935 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5949 ac_clean_files=$ac_clean_files_save
5951 test $ac_write_fail = 0 ||
5952 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5955 # configure is writing to config.log, and then calls config.status.
5956 # config.status does its own redirection, appending to config.log.
5957 # Unfortunately, on DOS this fails, as config.log is still kept open
5958 # by configure, so config.status won't be able to
write to it
; its
5959 # output is simply discarded. So we exec the FD to /dev/null,
5960 # effectively closing config.log, so it can be properly (re)opened and
5961 # appended to by config.status. When coming back to configure, we
5962 # need to make the FD available again.
5963 if test "$no_create" != yes; then
5965 ac_config_status_args
=
5966 test "$silent" = yes &&
5967 ac_config_status_args
="$ac_config_status_args --quiet"
5969 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5971 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5972 # would make configure fail if this is the last instruction.
5973 $ac_cs_success || as_fn_exit
1
5975 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5977 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}