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_iquote_end
703 aros_cflags_nostrictaliasing
704 aros_cflags_strictaliasing
705 aros_cflags_peel_loops
706 aros_cflags_loop_strip_mine
707 aros_cflags_loop_interchange
708 aros_cflags_loop_block
709 aros_cflags_whole_program
712 aros_cflags_fast_math
747 program_transform_name
760 enable_option_checking
763 ac_precious_vars
='build_alias
773 # Initialize some variables set by options.
775 ac_init_version
=false
776 ac_unrecognized_opts
=
778 # The variables have the same names as the options, with
779 # dashes changed to underlines.
787 program_transform_name
=s
,x
,x
,
795 # Installation directory options.
796 # These are left unexpanded so users can "make install exec_prefix=/foo"
797 # and all the variables that are supposed to be based on exec_prefix
798 # by default will actually change.
799 # Use braces instead of parens because sh, perl, etc. also accept them.
800 # (The list follows the same order as the GNU Coding Standards.)
801 bindir
='${exec_prefix}/bin'
802 sbindir
='${exec_prefix}/sbin'
803 libexecdir
='${exec_prefix}/libexec'
804 datarootdir
='${prefix}/share'
805 datadir
='${datarootdir}'
806 sysconfdir
='${prefix}/etc'
807 sharedstatedir
='${prefix}/com'
808 localstatedir
='${prefix}/var'
809 includedir
='${prefix}/include'
810 oldincludedir
='/usr/include'
811 docdir
='${datarootdir}/doc/${PACKAGE}'
812 infodir
='${datarootdir}/info'
817 libdir
='${exec_prefix}/lib'
818 localedir
='${datarootdir}/locale'
819 mandir
='${datarootdir}/man'
825 # If the previous option needs an argument, assign it.
826 if test -n "$ac_prev"; then
827 eval $ac_prev=\
$ac_option
833 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
838 # Accept the important Cygnus configure options, so we can diagnose typos.
840 case $ac_dashdash$ac_option in
844 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
846 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
849 -build |
--build |
--buil |
--bui |
--bu)
850 ac_prev
=build_alias
;;
851 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
852 build_alias
=$ac_optarg ;;
854 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
855 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
856 ac_prev
=cache_file
;;
857 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
858 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
859 cache_file
=$ac_optarg ;;
862 cache_file
=config.cache
;;
864 -datadir |
--datadir |
--datadi |
--datad)
866 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
867 datadir
=$ac_optarg ;;
869 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
870 |
--dataroo |
--dataro |
--datar)
871 ac_prev
=datarootdir
;;
872 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
873 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
874 datarootdir
=$ac_optarg ;;
876 -disable-* |
--disable-*)
877 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
880 as_fn_error $?
"invalid feature name: $ac_useropt"
881 ac_useropt_orig
=$ac_useropt
882 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
887 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
888 ac_unrecognized_sep
=', ';;
890 eval enable_
$ac_useropt=no
;;
892 -docdir |
--docdir |
--docdi |
--doc |
--do)
894 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
897 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
899 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
902 -enable-* |
--enable-*)
903 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
906 as_fn_error $?
"invalid feature name: $ac_useropt"
907 ac_useropt_orig
=$ac_useropt
908 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909 case $ac_user_opts in
913 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
914 ac_unrecognized_sep
=', ';;
916 eval enable_
$ac_useropt=\
$ac_optarg ;;
918 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
919 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
920 |
--exec |
--exe |
--ex)
921 ac_prev
=exec_prefix
;;
922 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
923 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
924 |
--exec=* |
--exe=* |
--ex=*)
925 exec_prefix
=$ac_optarg ;;
927 -gas |
--gas |
--ga |
--g)
928 # Obsolete; use --with-gas.
931 -help |
--help |
--hel |
--he |
-h)
933 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
934 ac_init_help
=recursive
;;
935 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
936 ac_init_help
=short
;;
938 -host |
--host |
--hos |
--ho)
939 ac_prev
=host_alias
;;
940 -host=* |
--host=* |
--hos=* |
--ho=*)
941 host_alias
=$ac_optarg ;;
943 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
945 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
947 htmldir
=$ac_optarg ;;
949 -includedir |
--includedir |
--includedi |
--included |
--include \
950 |
--includ |
--inclu |
--incl |
--inc)
951 ac_prev
=includedir
;;
952 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
953 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
954 includedir
=$ac_optarg ;;
956 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
958 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
959 infodir
=$ac_optarg ;;
961 -libdir |
--libdir |
--libdi |
--libd)
963 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
966 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
967 |
--libexe |
--libex |
--libe)
968 ac_prev
=libexecdir
;;
969 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
970 |
--libexe=* |
--libex=* |
--libe=*)
971 libexecdir
=$ac_optarg ;;
973 -localedir |
--localedir |
--localedi |
--localed |
--locale)
975 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
976 localedir
=$ac_optarg ;;
978 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
979 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
980 ac_prev
=localstatedir
;;
981 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
982 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
983 localstatedir
=$ac_optarg ;;
985 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
987 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
991 # Obsolete; use --without-fp.
994 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
995 |
--no-cr |
--no-c |
-n)
998 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
999 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1002 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1003 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1004 |
--oldin |
--oldi |
--old |
--ol |
--o)
1005 ac_prev
=oldincludedir
;;
1006 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1007 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1008 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1009 oldincludedir
=$ac_optarg ;;
1011 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1013 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1014 prefix
=$ac_optarg ;;
1016 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1017 |
--program-pre |
--program-pr |
--program-p)
1018 ac_prev
=program_prefix
;;
1019 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1020 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1021 program_prefix
=$ac_optarg ;;
1023 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1024 |
--program-suf |
--program-su |
--program-s)
1025 ac_prev
=program_suffix
;;
1026 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1027 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1028 program_suffix
=$ac_optarg ;;
1030 -program-transform-name |
--program-transform-name \
1031 |
--program-transform-nam |
--program-transform-na \
1032 |
--program-transform-n |
--program-transform- \
1033 |
--program-transform |
--program-transfor \
1034 |
--program-transfo |
--program-transf \
1035 |
--program-trans |
--program-tran \
1036 |
--progr-tra |
--program-tr |
--program-t)
1037 ac_prev
=program_transform_name
;;
1038 -program-transform-name=* |
--program-transform-name=* \
1039 |
--program-transform-nam=* |
--program-transform-na=* \
1040 |
--program-transform-n=* |
--program-transform-=* \
1041 |
--program-transform=* |
--program-transfor=* \
1042 |
--program-transfo=* |
--program-transf=* \
1043 |
--program-trans=* |
--program-tran=* \
1044 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1045 program_transform_name
=$ac_optarg ;;
1047 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1049 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1050 pdfdir
=$ac_optarg ;;
1052 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1054 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1057 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1058 |
-silent |
--silent |
--silen |
--sile |
--sil)
1061 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1063 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1065 sbindir
=$ac_optarg ;;
1067 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1068 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1069 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1071 ac_prev
=sharedstatedir
;;
1072 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1073 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1074 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1076 sharedstatedir
=$ac_optarg ;;
1078 -site |
--site |
--sit)
1080 -site=* |
--site=* |
--sit=*)
1083 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1085 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1086 srcdir
=$ac_optarg ;;
1088 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1089 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1090 ac_prev
=sysconfdir
;;
1091 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1092 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1093 sysconfdir
=$ac_optarg ;;
1095 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1096 ac_prev
=target_alias
;;
1097 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1098 target_alias
=$ac_optarg ;;
1100 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1103 -version |
--version |
--versio |
--versi |
--vers |
-V)
1104 ac_init_version
=: ;;
1107 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1110 as_fn_error $?
"invalid package name: $ac_useropt"
1111 ac_useropt_orig
=$ac_useropt
1112 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1117 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1118 ac_unrecognized_sep
=', ';;
1120 eval with_
$ac_useropt=\
$ac_optarg ;;
1122 -without-* |
--without-*)
1123 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error $?
"invalid package name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval with_
$ac_useropt=no
;;
1139 # Obsolete; use --with-x.
1142 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1143 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1144 ac_prev
=x_includes
;;
1145 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1146 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1147 x_includes
=$ac_optarg ;;
1149 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1150 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1151 ac_prev
=x_libraries
;;
1152 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1153 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1154 x_libraries
=$ac_optarg ;;
1156 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1157 Try \`$0 --help' for more information"
1161 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1162 # Reject names that are not valid shell variable names.
1163 case $ac_envvar in #(
1164 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1165 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1167 eval $ac_envvar=\
$ac_optarg
1168 export $ac_envvar ;;
1171 # FIXME: should be removed in autoconf 3.0.
1172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1175 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1181 if test -n "$ac_prev"; then
1182 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1183 as_fn_error $?
"missing argument to $ac_option"
1186 if test -n "$ac_unrecognized_opts"; then
1187 case $enable_option_checking in
1189 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1190 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1194 # Check all directory arguments for consistency.
1195 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1196 datadir sysconfdir sharedstatedir localstatedir includedir \
1197 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1198 libdir localedir mandir
1200 eval ac_val
=\$
$ac_var
1201 # Remove trailing slashes.
1204 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1205 eval $ac_var=\
$ac_val;;
1207 # Be sure to have absolute directory names.
1209 [\\/$
]* | ?
:[\\/]* ) continue;;
1210 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1212 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1215 # There might be people who depend on the old broken behavior: `$host'
1216 # used to hold the argument of --host etc.
1217 # FIXME: To remove some day.
1220 target
=$target_alias
1222 # FIXME: To remove some day.
1223 if test "x$host_alias" != x
; then
1224 if test "x$build_alias" = x
; then
1225 cross_compiling
=maybe
1226 elif test "x$build_alias" != "x$host_alias"; then
1232 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1234 test "$silent" = yes && exec 6>/dev
/null
1237 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1238 ac_ls_di
=`ls -di .` &&
1239 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1240 as_fn_error $?
"working directory cannot be determined"
1241 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1242 as_fn_error $?
"pwd does not report name of working directory"
1245 # Find the source files, if location was not specified.
1246 if test -z "$srcdir"; then
1247 ac_srcdir_defaulted
=yes
1248 # Try the directory containing this script, then the parent directory.
1249 ac_confdir
=`$as_dirname -- "$as_myself" ||
1250 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1251 X"$as_myself" : 'X\(//\)[^/]' \| \
1252 X"$as_myself" : 'X\(//\)$' \| \
1253 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1254 $as_echo X"$as_myself" |
1255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1277 ac_srcdir_defaulted
=no
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1280 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1281 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1283 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1285 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291 # Remove unnecessary trailing slashes from srcdir.
1292 # Double slashes in file names in object file debugging info
1293 # mess up M-x gdb in Emacs.
1295 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 for ac_var
in $ac_precious_vars; do
1298 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1299 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1300 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1301 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1305 # Report the --help message.
1307 if test "$ac_init_help" = "long"; then
1308 # Omit some internal or obsolete options to make the list less imposing.
1309 # This message is too long to be a string in the A/UX 3.1 sh.
1311 \`configure' configures this package to adapt to many kinds of systems.
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316 VAR=VALUE. See below for descriptions of some of the useful variables.
1318 Defaults for the options are specified in brackets.
1321 -h, --help display this help and exit
1322 --help=short display options specific to this package
1323 --help=recursive display the short help of all the included packages
1324 -V, --version display version information and exit
1325 -q, --quiet, --silent do not print \`checking ...' messages
1326 --cache-file=FILE cache test results in FILE [disabled]
1327 -C, --config-cache alias for \`--cache-file=config.cache'
1328 -n, --no-create do not create output files
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1331 Installation directories:
1332 --prefix=PREFIX install architecture-independent files in PREFIX
1333 [$ac_default_prefix]
1334 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 By default, \`make install' will install all the files in
1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340 for instance \`--prefix=\$HOME'.
1342 For better control, use the options below.
1344 Fine tuning of the installation directories:
1345 --bindir=DIR user executables [EPREFIX/bin]
1346 --sbindir=DIR system admin executables [EPREFIX/sbin]
1347 --libexecdir=DIR program executables [EPREFIX/libexec]
1348 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351 --libdir=DIR object code libraries [EPREFIX/lib]
1352 --includedir=DIR C header files [PREFIX/include]
1353 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1354 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356 --infodir=DIR info documentation [DATAROOTDIR/info]
1357 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358 --mandir=DIR man documentation [DATAROOTDIR/man]
1359 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1360 --htmldir=DIR html documentation [DOCDIR]
1361 --dvidir=DIR dvi documentation [DOCDIR]
1362 --pdfdir=DIR pdf documentation [DOCDIR]
1363 --psdir=DIR ps documentation [DOCDIR]
1370 if test -n "$ac_init_help"; then
1375 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1376 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1377 --with-config-dir=VERSION
1378 Location of generated target config files
1380 Some influential environment variables
:
1381 CC C compiler
command
1382 CFLAGS C compiler flags
1383 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1384 nonstandard directory
<lib dir
>
1385 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1386 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1387 you have headers
in a nonstandard directory
<include dir
>
1389 Use these variables to override the choices made by
`configure' or to help
1390 it to find libraries and programs with nonstandard names/locations.
1392 Report bugs to the package provider.
1397 if test "$ac_init_help" = "recursive"; then
1398 # If there are subdirs, report their specific --help.
1399 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1400 test -d "$ac_dir" ||
1401 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1422 .) # We are building in place.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1456 generated by GNU Autoconf 2.69
1458 Copyright (C) 2012 Free Software Foundation, Inc.
1459 This configure script is free software; the Free Software Foundation
1460 gives unlimited permission to copy, distribute and modify it.
1465 ## ------------------------ ##
1466 ## Autoconf initialization. ##
1467 ## ------------------------ ##
1469 # ac_fn_c_try_compile LINENO
1470 # --------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_c_try_compile ()
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 rm -f conftest.$ac_objext
1476 if { { ac_try="$ac_compile"
1478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1479 *) ac_try_echo
=$ac_try;;
1481 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1485 if test -s conftest.err
; then
1486 grep -v '^ *+' conftest.err
>conftest.er1
1487 cat conftest.er1
>&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_c_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.
$ac_objext; then :
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.
$ac_ext >&5
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status
$ac_retval
1505 } # ac_fn_c_try_compile
1506 cat >config.log
<<_ACEOF
1507 This file contains any messages produced by compilers while
1508 running configure, to aid debugging if configure makes a mistake.
1510 It was created by $as_me, which was
1511 generated by GNU Autoconf 2.69. Invocation command line was
1523 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1524 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1525 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1526 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1527 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1529 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1530 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1532 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1533 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1534 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1535 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1536 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1537 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1538 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1546 test -z "$as_dir" && as_dir
=.
1547 $as_echo "PATH: $as_dir"
1563 # Keep a trace of the command line.
1564 # Strip out --no-create and --no-recursion so they do not pile up.
1565 # Strip out --silent because we don't want to record it for future runs.
1566 # Also quote any args containing shell meta-characters.
1567 # Make two passes to allow for proper duplicate-argument suppression.
1571 ac_must_keep_next
=false
1577 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1578 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1579 |
-silent |
--silent |
--silen |
--sile |
--sil)
1582 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1585 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1587 as_fn_append ac_configure_args1
" '$ac_arg'"
1588 if test $ac_must_keep_next = true
; then
1589 ac_must_keep_next
=false
# Got value, back to normal.
1592 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1593 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1594 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1595 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1596 case "$ac_configure_args0 " in
1597 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1600 -* ) ac_must_keep_next
=true
;;
1603 as_fn_append ac_configure_args
" '$ac_arg'"
1608 { ac_configure_args0
=; unset ac_configure_args0
;}
1609 { ac_configure_args1
=; unset ac_configure_args1
;}
1611 # When interrupted or exit'd, cleanup temporary files, and complete
1612 # config.log. We remove comments because anyway the quotes in there
1613 # would cause problems or look ugly.
1614 # WARNING: Use '\'' to represent an apostrophe within the trap.
1615 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1616 trap 'exit_status=$?
1617 # Save into config.log some information that might help in debugging.
1621 $as_echo "## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##"
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628 eval ac_val=\$$ac_var
1632 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1636 _ | IFS | as_nl) ;; #(
1637 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1638 *) { eval $ac_var=; unset $ac_var;} ;;
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1657 $as_echo "## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##"
1661 for ac_var in $ac_subst_vars
1663 eval ac_val=\$$ac_var
1665 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 $as_echo "$ac_var='\''$ac_val'\''"
1671 if test -n "$ac_subst_files"; then
1672 $as_echo "## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##"
1676 for ac_var
in $ac_subst_files
1678 eval ac_val
=\$
$ac_var
1680 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 $as_echo "$ac_var='\''$ac_val'\''"
1687 if test -s confdefs.h; then
1688 $as_echo "## ----------- ##
1695 test "$ac_signal" != 0 &&
1696 $as_echo "$as_me: caught signal $ac_signal"
1697 $as_echo "$as_me: exit $exit_status"
1699 rm -f core *.core core.conftest.* &&
1700 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1703 for ac_signal
in 1 2 13 15; do
1704 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1708 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1709 rm -f -r conftest
* confdefs.h
1711 $as_echo "/* confdefs.h */" > confdefs.h
1713 # Predefined preprocessor variables.
1715 cat >>confdefs.h
<<_ACEOF
1716 #define PACKAGE_NAME "$PACKAGE_NAME"
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723 cat >>confdefs.h
<<_ACEOF
1724 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1727 cat >>confdefs.h
<<_ACEOF
1728 #define PACKAGE_STRING "$PACKAGE_STRING"
1731 cat >>confdefs.h
<<_ACEOF
1732 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1735 cat >>confdefs.h
<<_ACEOF
1736 #define PACKAGE_URL "$PACKAGE_URL"
1740 # Let the site file select an alternate cache file if it wants to.
1741 # Prefer an explicitly selected file to automatically selected ones.
1744 if test -n "$CONFIG_SITE"; then
1745 # We do not want a PATH search for config.site.
1746 case $CONFIG_SITE in #((
1747 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1748 */*) ac_site_file1
=$CONFIG_SITE;;
1749 *) ac_site_file1
=.
/$CONFIG_SITE;;
1751 elif test "x$prefix" != xNONE
; then
1752 ac_site_file1
=$prefix/share
/config.site
1753 ac_site_file2
=$prefix/etc
/config.site
1755 ac_site_file1
=$ac_default_prefix/share
/config.site
1756 ac_site_file2
=$ac_default_prefix/etc
/config.site
1758 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1760 test "x$ac_site_file" = xNONE
&& continue
1761 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1763 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1764 sed 's/^/| /' "$ac_site_file" >&5
1766 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1768 as_fn_error $?
"failed to load site script $ac_site_file
1769 See \`config.log' for more details" "$LINENO" 5; }
1773 if test -r "$cache_file"; then
1774 # Some versions of bash will fail to source /dev/null (special files
1775 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1776 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1778 $as_echo "$as_me: loading cache $cache_file" >&6;}
1780 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1781 *) .
"./$cache_file";;
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1786 $as_echo "$as_me: creating cache $cache_file" >&6;}
1790 # Check that the precious variables saved in the cache have kept the same
1792 ac_cache_corrupted
=false
1793 for ac_var
in $ac_precious_vars; do
1794 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1795 eval ac_new_set
=\
$ac_env_${ac_var}_set
1796 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1797 eval ac_new_val
=\
$ac_env_${ac_var}_value
1798 case $ac_old_set,$ac_new_set in
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1801 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1802 ac_cache_corrupted
=: ;;
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1805 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1806 ac_cache_corrupted
=: ;;
1809 if test "x$ac_old_val" != "x$ac_new_val"; then
1810 # differences in whitespace do not lead to failure.
1811 ac_old_val_w
=`echo x $ac_old_val`
1812 ac_new_val_w
=`echo x $ac_new_val`
1813 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1815 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1816 ac_cache_corrupted
=:
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1819 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1820 eval $ac_var=\
$ac_old_val
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1823 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1825 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1828 # Pass precious variables to config.status.
1829 if test "$ac_new_set" = set; then
1831 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1832 *) ac_arg
=$ac_var=$ac_new_val ;;
1834 case " $ac_configure_args " in
1835 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1836 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1840 if $ac_cache_corrupted; then
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1844 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1845 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1847 ## -------------------- ##
1848 ## Main body of script. ##
1849 ## -------------------- ##
1852 ac_cpp
='$CPP $CPPFLAGS'
1853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1860 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1861 if test -f "$ac_dir/install-sh"; then
1863 ac_install_sh
="$ac_aux_dir/install-sh -c"
1865 elif test -f "$ac_dir/install.sh"; then
1867 ac_install_sh
="$ac_aux_dir/install.sh -c"
1869 elif test -f "$ac_dir/shtool"; then
1871 ac_install_sh
="$ac_aux_dir/shtool install -c"
1875 if test -z "$ac_aux_dir"; then
1876 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1879 # These three variables are undocumented and unsupported,
1880 # and are intended to be withdrawn in a future Autoconf release.
1881 # They can cause serious problems if a builder's source tree is in a directory
1882 # whose full name contains unusual characters.
1883 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1884 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1885 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1890 AROS_BUILDDIR_UNIX
=${PWD}
1892 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1895 NOLINKFLAGS
="-nostdlib -nostartfiles"
1896 LDFLAGS
=$NOLINKFLAGS
1897 # The first step is to find the binaries.
1899 ac_cpp
='$CPP $CPPFLAGS'
1900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1903 if test -n "$ac_tool_prefix"; then
1904 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1905 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1907 $as_echo_n "checking for $ac_word... " >&6; }
1908 if ${ac_cv_prog_CC+:} false
; then :
1909 $as_echo_n "(cached) " >&6
1911 if test -n "$CC"; then
1912 ac_cv_prog_CC
="$CC" # Let the user override the test.
1914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1918 test -z "$as_dir" && as_dir
=.
1919 for ac_exec_ext
in '' $ac_executable_extensions; do
1920 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1921 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1932 if test -n "$CC"; then
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1934 $as_echo "$CC" >&6; }
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1937 $as_echo "no" >&6; }
1942 if test -z "$ac_cv_prog_CC"; then
1944 # Extract the first word of "gcc", so it can be a program name with args.
1945 set dummy gcc
; ac_word
=$2
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1947 $as_echo_n "checking for $ac_word... " >&6; }
1948 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1949 $as_echo_n "(cached) " >&6
1951 if test -n "$ac_ct_CC"; then
1952 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir
=.
1959 for ac_exec_ext
in '' $ac_executable_extensions; do
1960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1961 ac_cv_prog_ac_ct_CC
="gcc"
1962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1971 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1972 if test -n "$ac_ct_CC"; then
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1974 $as_echo "$ac_ct_CC" >&6; }
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1977 $as_echo "no" >&6; }
1980 if test "x$ac_ct_CC" = x
; then
1983 case $cross_compiling:$ac_tool_warned in
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1987 ac_tool_warned
=yes ;;
1995 if test -z "$CC"; then
1996 if test -n "$ac_tool_prefix"; then
1997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1998 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2000 $as_echo_n "checking for $ac_word... " >&6; }
2001 if ${ac_cv_prog_CC+:} false
; then :
2002 $as_echo_n "(cached) " >&6
2004 if test -n "$CC"; then
2005 ac_cv_prog_CC
="$CC" # Let the user override the test.
2007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2011 test -z "$as_dir" && as_dir
=.
2012 for ac_exec_ext
in '' $ac_executable_extensions; do
2013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2014 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2025 if test -n "$CC"; then
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2027 $as_echo "$CC" >&6; }
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2030 $as_echo "no" >&6; }
2036 if test -z "$CC"; then
2037 # Extract the first word of "cc", so it can be a program name with args.
2038 set dummy cc
; ac_word
=$2
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2040 $as_echo_n "checking for $ac_word... " >&6; }
2041 if ${ac_cv_prog_CC+:} false
; then :
2042 $as_echo_n "(cached) " >&6
2044 if test -n "$CC"; then
2045 ac_cv_prog_CC
="$CC" # Let the user override the test.
2048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2052 test -z "$as_dir" && as_dir
=.
2053 for ac_exec_ext
in '' $ac_executable_extensions; do
2054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2055 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2056 ac_prog_rejected
=yes
2060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test $ac_prog_rejected = yes; then
2068 # We found a bogon in the path, so make sure we never use it.
2069 set dummy
$ac_cv_prog_CC
2071 if test $# != 0; then
2072 # We chose a different compiler from the bogus one.
2073 # However, it has the same basename, so the bogon will be chosen
2074 # first if we set CC to just the basename; use the full file name.
2076 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2082 if test -n "$CC"; then
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2084 $as_echo "$CC" >&6; }
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2087 $as_echo "no" >&6; }
2092 if test -z "$CC"; then
2093 if test -n "$ac_tool_prefix"; then
2094 for ac_prog
in cl.exe
2096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2097 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2099 $as_echo_n "checking for $ac_word... " >&6; }
2100 if ${ac_cv_prog_CC+:} false
; then :
2101 $as_echo_n "(cached) " >&6
2103 if test -n "$CC"; then
2104 ac_cv_prog_CC
="$CC" # Let the user override the test.
2106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir
=.
2111 for ac_exec_ext
in '' $ac_executable_extensions; do
2112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2113 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 if test -n "$CC"; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2126 $as_echo "$CC" >&6; }
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2129 $as_echo "no" >&6; }
2133 test -n "$CC" && break
2136 if test -z "$CC"; then
2138 for ac_prog
in cl.exe
2140 # Extract the first word of "$ac_prog", so it can be a program name with args.
2141 set dummy
$ac_prog; ac_word
=$2
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2143 $as_echo_n "checking for $ac_word... " >&6; }
2144 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2145 $as_echo_n "(cached) " >&6
2147 if test -n "$ac_ct_CC"; then
2148 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir
=.
2155 for ac_exec_ext
in '' $ac_executable_extensions; do
2156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2157 ac_cv_prog_ac_ct_CC
="$ac_prog"
2158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2168 if test -n "$ac_ct_CC"; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2170 $as_echo "$ac_ct_CC" >&6; }
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2173 $as_echo "no" >&6; }
2177 test -n "$ac_ct_CC" && break
2180 if test "x$ac_ct_CC" = x
; then
2183 case $cross_compiling:$ac_tool_warned in
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2187 ac_tool_warned
=yes ;;
2196 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198 as_fn_error $?
"no acceptable C compiler found in \$PATH
2199 See \`config.log' for more details" "$LINENO" 5; }
2201 # Provide some information about the compiler.
2202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2205 for ac_option
in --version -v -V -qversion; do
2206 { { ac_try
="$ac_compiler $ac_option >&5"
2208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2209 *) ac_try_echo=$ac_try;;
2211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2212 $as_echo "$ac_try_echo"; } >&5
2213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2215 if test -s conftest.err; then
2217 ... rest of stderr output deleted ...
2218 10q' conftest.err >conftest.er1
2219 cat conftest.er1 >&5
2221 rm -f conftest.er1 conftest.err
2222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2223 test $ac_status = 0; }
2226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2227 /* end confdefs.h. */
2237 ac_clean_files_save=$ac_clean_files
2238 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2239 # Try to create an executable without -o first, disregard a.out.
2240 # It will help us diagnose broken compilers, and finding out an intuition
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2243 $as_echo_n "checking whether the C compiler works... " >&6; }
2244 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2246 # The possible output files:
2247 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2250 for ac_file in $ac_files
2253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2254 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2259 if { { ac_try="$ac_link_default"
2261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2262 *) ac_try_echo
=$ac_try;;
2264 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2265 $as_echo "$ac_try_echo"; } >&5
2266 (eval "$ac_link_default") 2>&5
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; }; then :
2270 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2271 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2272 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2273 # so that the user can short-circuit this test for compilers unknown to
2275 for ac_file
in $ac_files ''
2277 test -f "$ac_file" ||
continue
2279 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2282 # We found the default executable, but exeext='' is most
2286 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2288 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2290 # We set ac_cv_exeext here because the later test for it is not
2291 # safe: cross compilers may not add the suffix if given an `-o'
2292 # argument, so we may need to know it at that point already.
2293 # Even if this section looks crufty: it has the advantage of
2300 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2305 if test -z "$ac_file"; then :
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2307 $as_echo "no" >&6; }
2308 $as_echo "$as_me: failed program was:" >&5
2309 sed 's/^/| /' conftest.
$ac_ext >&5
2311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2313 as_fn_error
77 "C compiler cannot create executables
2314 See \`config.log' for more details" "$LINENO" 5; }
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2317 $as_echo "yes" >&6; }
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2320 $as_echo_n "checking for C compiler default output file name... " >&6; }
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2322 $as_echo "$ac_file" >&6; }
2323 ac_exeext
=$ac_cv_exeext
2325 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2326 ac_clean_files
=$ac_clean_files_save
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2328 $as_echo_n "checking for suffix of executables... " >&6; }
2329 if { { ac_try
="$ac_link"
2331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_link") 2>&5
2338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2339 test $ac_status = 0; }; then :
2340 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2341 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2342 # work properly (i.e., refer to `conftest.exe'), while it won't with
2344 for ac_file
in conftest.exe conftest conftest.
*; do
2345 test -f "$ac_file" ||
continue
2347 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2348 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2356 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2357 See \`config.log' for more details" "$LINENO" 5; }
2359 rm -f conftest conftest
$ac_cv_exeext
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2361 $as_echo "$ac_cv_exeext" >&6; }
2363 rm -f conftest.
$ac_ext
2364 EXEEXT
=$ac_cv_exeext
2366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h. */
2372 FILE *f = fopen ("conftest.out", "w");
2373 return ferror (f) || fclose (f) != 0;
2379 ac_clean_files
="$ac_clean_files conftest.out"
2380 # Check that the compiler produces executables we can run. If not, either
2381 # the compiler is broken, or we cross compile.
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2383 $as_echo_n "checking whether we are cross compiling... " >&6; }
2384 if test "$cross_compiling" != yes; then
2385 { { ac_try
="$ac_link"
2387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2391 $as_echo "$ac_try_echo"; } >&5
2392 (eval "$ac_link") 2>&5
2394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395 test $ac_status = 0; }
2396 if { ac_try='./conftest$ac_cv_exeext'
2397 { { case "(($ac_try" in
2398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2399 *) ac_try_echo
=$ac_try;;
2401 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402 $as_echo "$ac_try_echo"; } >&5
2403 (eval "$ac_try") 2>&5
2405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2406 test $ac_status = 0; }; }; then
2409 if test "$cross_compiling" = maybe
; then
2412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2414 as_fn_error $?
"cannot run C compiled programs.
2415 If you meant to cross compile, use \`--host'.
2416 See \`config.log' for more details" "$LINENO" 5; }
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2421 $as_echo "$cross_compiling" >&6; }
2423 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2424 ac_clean_files
=$ac_clean_files_save
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2426 $as_echo_n "checking for suffix of object files... " >&6; }
2427 if ${ac_cv_objext+:} false
; then :
2428 $as_echo_n "(cached) " >&6
2430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2441 rm -f conftest.o conftest.obj
2442 if { { ac_try
="$ac_compile"
2444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 $as_echo "$ac_try_echo"; } >&5
2449 (eval "$ac_compile") 2>&5
2451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2452 test $ac_status = 0; }; then :
2453 for ac_file in conftest.o conftest.obj conftest.*; do
2454 test -f "$ac_file" || continue;
2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2457 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2462 $as_echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2467 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2468 See \
`config.log' for more details" "$LINENO" 5; }
2470 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2473 $as_echo "$ac_cv_objext" >&6; }
2474 OBJEXT=$ac_cv_objext
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2477 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2478 if ${ac_cv_c_compiler_gnu+:} false; then :
2479 $as_echo_n "(cached) " >&6
2481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2482 /* end confdefs.h. */
2495 if ac_fn_c_try_compile "$LINENO"; then :
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2505 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2506 if test $ac_compiler_gnu = yes; then
2511 ac_test_CFLAGS=${CFLAGS+set}
2512 ac_save_CFLAGS=$CFLAGS
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2514 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2515 if ${ac_cv_prog_cc_g+:} false; then :
2516 $as_echo_n "(cached) " >&6
2518 ac_save_c_werror_flag=$ac_c_werror_flag
2519 ac_c_werror_flag=yes
2522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2533 if ac_fn_c_try_compile "$LINENO"; then :
2537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2548 if ac_fn_c_try_compile "$LINENO"; then :
2551 ac_c_werror_flag=$ac_save_c_werror_flag
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2554 /* end confdefs.h. */
2564 if ac_fn_c_try_compile "$LINENO"; then :
2567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2572 ac_c_werror_flag=$ac_save_c_werror_flag
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2575 $as_echo "$ac_cv_prog_cc_g" >&6; }
2576 if test "$ac_test_CFLAGS" = set; then
2577 CFLAGS=$ac_save_CFLAGS
2578 elif test $ac_cv_prog_cc_g = yes; then
2579 if test "$GCC" = yes; then
2585 if test "$GCC" = yes; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2592 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2593 if ${ac_cv_prog_cc_c89+:} false; then :
2594 $as_echo_n "(cached) " >&6
2596 ac_cv_prog_cc_c89=no
2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h. */
2603 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2604 struct buf { int x; };
2605 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2606 static char *e (p, i)
2612 static char *f (char * (*g) (char **, int), char **p, ...)
2617 s = g (p, va_arg (v,int));
2622 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2623 function prototypes and stuff, but not '\xHH' hex character constants.
2624 These don't provoke an error unfortunately, instead are silently treated
2625 as 'x'. The following induces an error, until -std is added to get
2626 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2627 array size at least. It's necessary to write '\x00'==0 to get something
2628 that's true only with -std. */
2629 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2631 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2632 inside strings and character constants. */
2634 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2636 int test (int i, double x);
2637 struct s1 {int (*f) (int a);};
2638 struct s2 {int (*f) (double a);};
2639 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2645 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2650 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2651 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2653 CC="$ac_save_CC $ac_arg"
2654 if ac_fn_c_try_compile "$LINENO"; then :
2655 ac_cv_prog_cc_c89=$ac_arg
2657 rm -f core conftest.err conftest.$ac_objext
2658 test "x$ac_cv_prog_cc_c89" != "xno" && break
2660 rm -f conftest.$ac_ext
2665 case "x$ac_cv_prog_cc_c89" in
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2668 $as_echo "none needed" >&6; } ;;
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2671 $as_echo "unsupported" >&6; } ;;
2673 CC="$CC $ac_cv_prog_cc_c89"
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2675 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2677 if test "x$ac_cv_prog_cc_c89" != xno; then :
2682 ac_cpp='$CPP $CPPFLAGS'
2683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2689 $as_echo_n "checking target config location... " >&6; }
2691 # Check whether --with-config-dir was given.
2692 if test "${with_config_dir+set}" = set; then :
2693 withval=$with_config_dir; targetcfg_dir="$withval"
2698 if test "$targetcfg_dir" = ""; then
2699 as_fn_error $? "missing config directory!" "$LINENO" 5
2701 aros_targetcfg_dir="$targetcfg_dir"
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2704 $as_echo "$aros_targetcfg_dir" >&6; }
2706 #-----------------------------------------------------------------------------
2708 # Check if the target compiler supports some features:
2713 # -floop-interchange
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2719 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2733 if ac_fn_c_try_compile "$LINENO"; then :
2734 aros_fast_math="yes"
2738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2740 $as_echo "$aros_fast_math" >&6; }
2741 if test "x-$aros_fast_math" = "x-yes" ; then
2742 aros_cflags_fast_math=-ffast-math
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2746 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2759 if ac_fn_c_try_compile "$LINENO"; then :
2764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2766 $as_echo "$aros_lto" >&6; }
2767 if test "x-$aros_lto" = "x-yes" ; then
2768 aros_cflags_lto=-flto
2769 aros_cflags_nolto=-fno-lto
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2772 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2773 CFLAGS=-fwhole-program
2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2785 if ac_fn_c_try_compile "$LINENO"; then :
2786 aros_whole_program="yes"
2788 aros_whole_program="no"
2790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2792 $as_echo "$aros_whole_program" >&6; }
2793 if test "x-$aros_whole_program" = "x-yes" ; then
2794 aros_cflags_whole_program=-fwhole-program
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2798 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2801 /* end confdefs.h. */
2811 if ac_fn_c_try_compile "$LINENO"; then :
2812 aros_loop_block="yes"
2814 aros_loop_block="no"
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2818 $as_echo "$aros_loop_block" >&6; }
2819 if test "x-$aros_loop_block" = "x-yes" ; then
2820 aros_cflags_loop_block=-floop-block
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2824 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2825 CFLAGS=-floop-interchange
2826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h. */
2837 if ac_fn_c_try_compile "$LINENO"; then :
2838 aros_loop_interchange="yes"
2840 aros_loop_interchange="no"
2842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2844 $as_echo "$aros_loop_interchange" >&6; }
2845 if test "x-$aros_loop_interchange" = "x-yes" ; then
2846 aros_cflags_loop_interchange=-floop-interchange
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2850 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2851 CFLAGS=-floop-strip-mine
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2863 if ac_fn_c_try_compile "$LINENO"; then :
2864 aros_loop_strip_mine="yes"
2866 aros_loop_strip_mine="no"
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2870 $as_echo "$aros_loop_strip_mine" >&6; }
2871 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2872 aros_cflags_loop_strip_mine=-floop-strip-mine
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2877 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 aros_peel_loops="yes"
2893 aros_peel_loops="no"
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2897 $as_echo "$aros_peel_loops" >&6; }
2898 if test "x-$aros_peel_loops" = "x-yes" ; then
2899 aros_cflags_peel_loops=-fpeel-loops
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
2903 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
2904 CFLAGS=-fstrict-aliasing
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 aros_strict_aliasing="yes"
2919 aros_strict_aliasing="no"
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2923 $as_echo "$aros_strict_aliasing" >&6; }
2924 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2925 aros_cflags_strictaliasing=-fstrict-aliasing
2926 aros_cflags_nostrictaliasing=-fno-strict-aliasing
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2930 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2943 if ac_fn_c_try_compile "$LINENO"; then :
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2950 $as_echo "$has_iquote" >&6; }
2951 if test "x-$has_iquote" = "x-yes" ; then
2952 aros_cflags_iquote=-iquote
2953 aros_cflags_iquote_end=
2955 aros_cflags_iquote=-I
2956 aros_cflags_iquote_end=-I-
2959 #-----------------------------------------------------------------------------
2961 # Check if the target compiler supports some options used for de-linting:
2962 # -Wunused-command-line-argument
2963 # -Wunknown-warning-option
2964 # -Wunused-but-set-variable
2968 # -Wstrict-prototypes
2971 # -Wmisleading-indentation
2977 # -Wunused-parameter
2979 # -Wmaybe-uninitialized
2980 # -Wimplicit-function-declaration
2985 # -Wformat-contains-nul
2987 # -Waggressive-loop-optimizations
2990 # -Wdiscarded-qualifiers
2993 # -Wdiscarded-array-qualifiers
2995 # -Wint-to-pointer-cast
2996 # -Wpointer-to-int-cast
2997 # -Wunused-const-variable
3000 # -Wincompatible-pointer-types
3002 # -Wlogical-not-parentheses
3006 # -Wdeprecated-declarations
3010 # -Wunused-local-typedefs
3014 # -Wvolatile-register-var
3015 # -Wsizeof-pointer-memaccess
3017 # -Wformat-zero-length
3018 # -Wlto-type-mismatch
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3021 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3022 CFLAGS=-Wunused-command-line-argument
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3034 if ac_fn_c_try_compile "$LINENO"; then :
3035 aros_unused_command_line_argument="yes"
3037 aros_unused_command_line_argument="no"
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3041 $as_echo "$aros_unused_command_line_argument" >&6; }
3042 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3043 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3044 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3048 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3049 CFLAGS=-Wunknown-warning-option
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3061 if ac_fn_c_try_compile "$LINENO"; then :
3062 aros_unknown_warning_option="yes"
3064 aros_unknown_warning_option="no"
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3068 $as_echo "$aros_unknown_warning_option" >&6; }
3069 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3070 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3071 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3075 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3076 CFLAGS=-Wunused-but-set-variable
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3088 if ac_fn_c_try_compile "$LINENO"; then :
3089 aros_unused_but_set_variable="yes"
3091 aros_unused_but_set_variable="no"
3093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3095 $as_echo "$aros_unused_but_set_variable" >&6; }
3096 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3097 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3098 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3102 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3103 CFLAGS=-Wstrict-aliasing
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3115 if ac_fn_c_try_compile "$LINENO"; then :
3116 aros_strict_aliasing="yes"
3118 aros_strict_aliasing="no"
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3122 $as_echo "$aros_strict_aliasing" >&6; }
3123 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3124 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3125 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3129 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3130 CFLAGS=-Warray-bounds
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3142 if ac_fn_c_try_compile "$LINENO"; then :
3143 aros_array_bounds="yes"
3145 aros_array_bounds="no"
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3149 $as_echo "$aros_array_bounds" >&6; }
3150 if test "x-$aros_array_bounds" = "x-yes" ; then
3151 aros_warnflags_array_bounds=-Warray-bounds
3152 aros_nowarnflags_array_bounds=-Wno-array-bounds
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3156 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3157 CFLAGS=-Wenum-compare
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3169 if ac_fn_c_try_compile "$LINENO"; then :
3170 aros_enum_compare="yes"
3172 aros_enum_compare="no"
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3176 $as_echo "$aros_enum_compare" >&6; }
3177 if test "x-$aros_enum_compare" = "x-yes" ; then
3178 aros_warnflags_enum_compare=-Wenum-compare
3179 aros_nowarnflags_enum_compare=-Wno-enum-compare
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3183 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3184 CFLAGS=-Wstrict-prototypes
3185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3186 /* end confdefs.h. */
3196 if ac_fn_c_try_compile "$LINENO"; then :
3197 aros_strict_prototypes="yes"
3199 aros_strict_prototypes="no"
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3203 $as_echo "$aros_strict_prototypes" >&6; }
3204 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3205 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3206 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3210 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3211 CFLAGS=-Wstrict-overflow
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3223 if ac_fn_c_try_compile "$LINENO"; then :
3224 aros_strict_overflow="yes"
3226 aros_strict_overflow="no"
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3230 $as_echo "$aros_strict_overflow" >&6; }
3231 if test "x-$aros_strict_overflow" = "x-yes" ; then
3232 aros_warnflags_strict_overflow=-Wstrict-overflow
3233 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3237 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3238 CFLAGS=-Wformat-security
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3250 if ac_fn_c_try_compile "$LINENO"; then :
3251 aros_format_security="yes"
3253 aros_format_security="no"
3255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3257 $as_echo "$aros_format_security" >&6; }
3258 if test "x-$aros_format_security" = "x-yes" ; then
3259 aros_warnflags_format_security=-Wformat-security
3260 aros_nowarnflags_format_security=-Wno-format-security
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3264 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3265 CFLAGS=-Wmisleading-indentation
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3277 if ac_fn_c_try_compile "$LINENO"; then :
3278 aros_misleading_indentation="yes"
3280 aros_misleading_indentation="no"
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3284 $as_echo "$aros_misleading_indentation" >&6; }
3285 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3286 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3287 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3291 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3292 CFLAGS=-Wnonnull-compare
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3304 if ac_fn_c_try_compile "$LINENO"; then :
3305 aros_nonnull_compare="yes"
3307 aros_nonnull_compare="no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3311 $as_echo "$aros_nonnull_compare" >&6; }
3312 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3313 aros_warnflags_nonnull_compare=-Wnonnull-compare
3314 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3318 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3331 if ac_fn_c_try_compile "$LINENO"; then :
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3338 $as_echo "$aros_unused" >&6; }
3339 if test "x-$aros_unused" = "x-yes" ; then
3340 aros_warnflags_unused=-Wunused
3341 aros_nowarnflags_unused=-Wno-unused
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3345 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3346 CFLAGS=-Wunused-value
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3358 if ac_fn_c_try_compile "$LINENO"; then :
3359 aros_unused_value="yes"
3361 aros_unused_value="no"
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3365 $as_echo "$aros_unused_value" >&6; }
3366 if test "x-$aros_unused_value" = "x-yes" ; then
3367 aros_warnflags_unused_value=-Wunused-value
3368 aros_nowarnflags_unused_value=-Wno-unused-value
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3372 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3373 CFLAGS=-Wunused-variable
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 aros_unused_variable="yes"
3388 aros_unused_variable="no"
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3392 $as_echo "$aros_unused_variable" >&6; }
3393 if test "x-$aros_unused_variable" = "x-yes" ; then
3394 aros_warnflags_unused_variable=-Wunused-variable
3395 aros_nowarnflags_unused_variable=-Wno-unused-variable
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3399 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3400 CFLAGS=-Wunused-function
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3412 if ac_fn_c_try_compile "$LINENO"; then :
3413 aros_unused_function="yes"
3415 aros_unused_function="no"
3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3419 $as_echo "$aros_unused_function" >&6; }
3420 if test "x-$aros_unused_function" = "x-yes" ; then
3421 aros_warnflags_unused_function=-Wunused-function
3422 aros_nowarnflags_unused_function=-Wno-unused-function
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3426 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3427 CFLAGS=-Wunused-parameter
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3439 if ac_fn_c_try_compile "$LINENO"; then :
3440 aros_unused_parameter="yes"
3442 aros_unused_parameter="no"
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3446 $as_echo "$aros_unused_parameter" >&6; }
3447 if test "x-$aros_unused_parameter" = "x-yes" ; then
3448 aros_warnflags_unused_parameter=-Wunused-parameter
3449 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3453 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3454 CFLAGS=-Wuninitialized
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3466 if ac_fn_c_try_compile "$LINENO"; then :
3467 aros_uninitialized="yes"
3469 aros_uninitialized="no"
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3473 $as_echo "$aros_uninitialized" >&6; }
3474 if test "x-$aros_uninitialized" = "x-yes" ; then
3475 aros_warnflags_uninitialized=-Wuninitialized
3476 aros_nowarnflags_uninitialized=-Wno-uninitialized
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3480 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3481 CFLAGS=-Wmaybe-uninitialized
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 if ac_fn_c_try_compile "$LINENO"; then :
3494 aros_maybe_uninitialized="yes"
3496 aros_maybe_uninitialized="no"
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3500 $as_echo "$aros_maybe_uninitialized" >&6; }
3501 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3502 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3503 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3505 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3506 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3510 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3511 CFLAGS=-Wimplicit-function-declaration
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3523 if ac_fn_c_try_compile "$LINENO"; then :
3524 aros_implicit_function_declaration="yes"
3526 aros_implicit_function_declaration="no"
3528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3530 $as_echo "$aros_implicit_function_declaration" >&6; }
3531 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3532 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3533 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3537 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3550 if ac_fn_c_try_compile "$LINENO"; then :
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3557 $as_echo "$aros_format" >&6; }
3558 if test "x-$aros_format" = "x-yes" ; then
3559 aros_warnflags_format=-Wformat
3560 aros_nowarnflags_format=-Wno-format
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3564 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3565 CFLAGS=-Wparentheses
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h. */
3577 if ac_fn_c_try_compile "$LINENO"; then :
3578 aros_parentheses="yes"
3580 aros_parentheses="no"
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3584 $as_echo "$aros_parentheses" >&6; }
3585 if test "x-$aros_parentheses" = "x-yes" ; then
3586 aros_warnflags_parentheses=-Wparentheses
3587 aros_nowarnflags_parentheses=-Wno-parentheses
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3591 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3592 CFLAGS=-Wchar-subscripts
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3604 if ac_fn_c_try_compile "$LINENO"; then :
3605 aros_char_subscripts="yes"
3607 aros_char_subscripts="no"
3609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3611 $as_echo "$aros_char_subscripts" >&6; }
3612 if test "x-$aros_char_subscripts" = "x-yes" ; then
3613 aros_warnflags_char_subscripts=-Wchar-subscripts
3614 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3618 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3619 CFLAGS=-Wendif-labels
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3631 if ac_fn_c_try_compile "$LINENO"; then :
3632 aros_endif_labels="yes"
3634 aros_endif_labels="no"
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3638 $as_echo "$aros_endif_labels" >&6; }
3639 if test "x-$aros_endif_labels" = "x-yes" ; then
3640 aros_warnflags_endif_labels=-Wendif-labels
3641 aros_nowarnflags_endif_labels=-Wno-endif-labels
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3645 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3646 CFLAGS=-Wformat-contains-nul
3647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3658 if ac_fn_c_try_compile "$LINENO"; then :
3659 aros_format_contains_nul="yes"
3661 aros_format_contains_nul="no"
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3665 $as_echo "$aros_format_contains_nul" >&6; }
3666 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3667 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3668 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3672 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3673 CFLAGS=-Wimplicit-int
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3685 if ac_fn_c_try_compile "$LINENO"; then :
3686 aros_implicit_int="yes"
3688 aros_implicit_int="no"
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3692 $as_echo "$aros_implicit_int" >&6; }
3693 if test "x-$aros_implicit_int" = "x-yes" ; then
3694 aros_warnflags_implicit_int=-Wimplicit-int
3695 aros_nowarnflags_implicit_int=-Wno-implicit-int
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3699 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3700 CFLAGS=-Waggressive-loop-optimizations
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 if ac_fn_c_try_compile "$LINENO"; then :
3713 aros_aggressive_loop_optimizations="yes"
3715 aros_aggressive_loop_optimizations="no"
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3719 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3720 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3721 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3722 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3726 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3739 if ac_fn_c_try_compile "$LINENO"; then :
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3746 $as_echo "$aros_cpp" >&6; }
3747 if test "x-$aros_cpp" = "x-yes" ; then
3748 aros_warnflags_cpp=-Wcpp
3749 aros_nowarnflags_cpp=-Wno-cpp
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3753 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3766 if ac_fn_c_try_compile "$LINENO"; then :
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3773 $as_echo "$aros_switch" >&6; }
3774 if test "x-$aros_switch" = "x-yes" ; then
3775 aros_warnflags_switch=-Wswitch
3776 aros_nowarnflags_switch=-Wno-switch
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3780 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3781 CFLAGS=-Wdiscarded-qualifiers
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3793 if ac_fn_c_try_compile "$LINENO"; then :
3794 aros_discarded_qualifiers="yes"
3796 aros_discarded_qualifiers="no"
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3800 $as_echo "$aros_discarded_qualifiers" >&6; }
3801 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3802 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
3803 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3807 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3808 CFLAGS=-Wsequence-point
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 if ac_fn_c_try_compile "$LINENO"; then :
3821 aros_sequence_point="yes"
3823 aros_sequence_point="no"
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3827 $as_echo "$aros_sequence_point" >&6; }
3828 if test "x-$aros_sequence_point" = "x-yes" ; then
3829 aros_warnflags_sequence_point=-Wsequence-point
3830 aros_nowarnflags_sequence_point=-Wno-sequence-point
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3834 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3835 CFLAGS=-Wunknown-pragmas
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3847 if ac_fn_c_try_compile "$LINENO"; then :
3848 aros_unknown_pragmas="yes"
3850 aros_unknown_pragmas="no"
3852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3854 $as_echo "$aros_unknown_pragmas" >&6; }
3855 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3856 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
3857 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3861 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3862 CFLAGS=-Wdiscarded-array-qualifiers
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3874 if ac_fn_c_try_compile "$LINENO"; then :
3875 aros_discarded_array_qualifiers="yes"
3877 aros_discarded_array_qualifiers="no"
3879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3881 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3882 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3883 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
3884 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3888 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3889 CFLAGS=-Wint-conversion
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3901 if ac_fn_c_try_compile "$LINENO"; then :
3902 aros_int_conversion="yes"
3904 aros_int_conversion="no"
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3908 $as_echo "$aros_int_conversion" >&6; }
3909 if test "x-$aros_int_conversion" = "x-yes" ; then
3910 aros_warnflags_int_conversion=-Wint-conversion
3911 aros_nowarnflags_int_conversion=-Wno-int-conversion
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3915 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3916 CFLAGS=-Wint-to-pointer-cast
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3928 if ac_fn_c_try_compile "$LINENO"; then :
3929 aros_int_to_pointer_cast="yes"
3931 aros_int_to_pointer_cast="no"
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3935 $as_echo "$aros_int_to_pointer_cast" >&6; }
3936 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3937 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
3938 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3942 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3943 CFLAGS=-Wpointer-to-int-cast
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3955 if ac_fn_c_try_compile "$LINENO"; then :
3956 aros_pointer_to_int_cast="yes"
3958 aros_pointer_to_int_cast="no"
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3962 $as_echo "$aros_pointer_to_int_cast" >&6; }
3963 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3964 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
3965 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3969 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3970 CFLAGS=-Wunused-const-variable
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3982 if ac_fn_c_try_compile "$LINENO"; then :
3983 aros_unused_const_variable="yes"
3985 aros_unused_const_variable="no"
3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3989 $as_echo "$aros_unused_const_variable" >&6; }
3990 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3991 aros_warnflags_unused_const_variable=-Wunused-const-variable
3992 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3996 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3997 CFLAGS=-Wwrite-strings
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 aros_write_strings="yes"
4012 aros_write_strings="no"
4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4016 $as_echo "$aros_write_strings" >&6; }
4017 if test "x-$aros_write_strings" = "x-yes" ; then
4018 aros_warnflags_write_strings=-Wwrite-strings
4019 aros_nowarnflags_write_strings=-Wno-write-strings
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4023 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4036 if ac_fn_c_try_compile "$LINENO"; then :
4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4043 $as_echo "$aros_comment" >&6; }
4044 if test "x-$aros_comment" = "x-yes" ; then
4045 aros_warnflags_comment=-Wcomment
4046 aros_nowarnflags_comment=-Wno-comment
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4050 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4051 CFLAGS=-Wincompatible-pointer-types
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4063 if ac_fn_c_try_compile "$LINENO"; then :
4064 aros_incompatible_pointer_types="yes"
4066 aros_incompatible_pointer_types="no"
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4070 $as_echo "$aros_incompatible_pointer_types" >&6; }
4071 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4072 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4073 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4077 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4078 CFLAGS=-Wbool-compare
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4090 if ac_fn_c_try_compile "$LINENO"; then :
4091 aros_bool_compare="yes"
4093 aros_bool_compare="no"
4095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4097 $as_echo "$aros_bool_compare" >&6; }
4098 if test "x-$aros_bool_compare" = "x-yes" ; then
4099 aros_warnflags_bool_compare=-Wbool-compare
4100 aros_nowarnflags_bool_compare=-Wno-bool-compare
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4104 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4105 CFLAGS=-Wlogical-not-parentheses
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4117 if ac_fn_c_try_compile "$LINENO"; then :
4118 aros_logical_not_parentheses="yes"
4120 aros_logical_not_parentheses="no"
4122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4124 $as_echo "$aros_logical_not_parentheses" >&6; }
4125 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4126 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4127 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4131 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4132 CFLAGS=-Wpointer-sign
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4144 if ac_fn_c_try_compile "$LINENO"; then :
4145 aros_pointer_sign="yes"
4147 aros_pointer_sign="no"
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4151 $as_echo "$aros_pointer_sign" >&6; }
4152 if test "x-$aros_pointer_sign" = "x-yes" ; then
4153 aros_warnflags_pointer_sign=-Wpointer-sign
4154 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4158 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4159 CFLAGS=-Wshift-overflow
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172 aros_shift_overflow="yes"
4174 aros_shift_overflow="no"
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4178 $as_echo "$aros_shift_overflow" >&6; }
4179 if test "x-$aros_shift_overflow" = "x-yes" ; then
4180 aros_warnflags_shift_overflow=-Wshift-overflow
4181 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4185 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4186 CFLAGS=-Wframe-address
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4198 if ac_fn_c_try_compile "$LINENO"; then :
4199 aros_frame_address="yes"
4201 aros_frame_address="no"
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4205 $as_echo "$aros_frame_address" >&6; }
4206 if test "x-$aros_frame_address" = "x-yes" ; then
4207 aros_warnflags_frame_address=-Wframe-address
4208 aros_nowarnflags_frame_address=-Wno-frame-address
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4212 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4213 CFLAGS=-Wdeprecated-declarations
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4225 if ac_fn_c_try_compile "$LINENO"; then :
4226 aros_deprecated_declarations="yes"
4228 aros_deprecated_declarations="no"
4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4232 $as_echo "$aros_deprecated_declarations" >&6; }
4233 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4234 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4235 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4239 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4240 CFLAGS=-Wsign-compare
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4252 if ac_fn_c_try_compile "$LINENO"; then :
4253 aros_sign_compare="yes"
4255 aros_sign_compare="no"
4257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4259 $as_echo "$aros_sign_compare" >&6; }
4260 if test "x-$aros_sign_compare" = "x-yes" ; then
4261 aros_warnflags_sign_compare=-Wsign-compare
4262 aros_nowarnflags_sign_compare=-Wno-sign-compare
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4266 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4279 if ac_fn_c_try_compile "$LINENO"; then :
4280 aros_attributes="yes"
4282 aros_attributes="no"
4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4286 $as_echo "$aros_attributes" >&6; }
4287 if test "x-$aros_attributes" = "x-yes" ; then
4288 aros_warnflags_attributes=-Wattributes
4289 aros_nowarnflags_attributes=-Wno-attributes
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4293 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 /* end confdefs.h. */
4306 if ac_fn_c_try_compile "$LINENO"; then :
4311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4313 $as_echo "$aros_overflow" >&6; }
4314 if test "x-$aros_overflow" = "x-yes" ; then
4315 aros_warnflags_overflow=-Woverflow
4316 aros_nowarnflags_overflow=-Wno-overflow
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4320 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4321 CFLAGS=-Wunused-local-typedefs
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4333 if ac_fn_c_try_compile "$LINENO"; then :
4334 aros_unused_local_typedefs="yes"
4336 aros_unused_local_typedefs="no"
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4340 $as_echo "$aros_unused_local_typedefs" >&6; }
4341 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4342 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4343 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4347 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4348 CFLAGS=-Wmissing-braces
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4360 if ac_fn_c_try_compile "$LINENO"; then :
4361 aros_missing_braces="yes"
4363 aros_missing_braces="no"
4365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4367 $as_echo "$aros_missing_braces" >&6; }
4368 if test "x-$aros_missing_braces" = "x-yes" ; then
4369 aros_warnflags_missing_braces=-Wmissing-braces
4370 aros_nowarnflags_missing_braces=-Wno-missing-braces
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4374 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4375 CFLAGS=-Wconversion-null
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 aros_conversion_null="yes"
4390 aros_conversion_null="no"
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4394 $as_echo "$aros_conversion_null" >&6; }
4395 if test "x-$aros_conversion_null" = "x-yes" ; then
4396 aros_warnflags_conversion_null=-Wconversion-null
4397 aros_nowarnflags_conversion_null=-Wno-conversion-null
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4401 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4414 if ac_fn_c_try_compile "$LINENO"; then :
4415 aros_narrowing="yes"
4419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4421 $as_echo "$aros_narrowing" >&6; }
4422 if test "x-$aros_narrowing" = "x-yes" ; then
4423 aros_warnflags_narrowing=-Wnarrowing
4424 aros_nowarnflags_narrowing=-Wno-narrowing
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4428 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4429 CFLAGS=-Wvolatile-register-var
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4441 if ac_fn_c_try_compile "$LINENO"; then :
4442 aros_volatile_register_var="yes"
4444 aros_volatile_register_var="no"
4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4448 $as_echo "$aros_volatile_register_var" >&6; }
4449 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4450 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4451 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4455 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4456 CFLAGS=-Wsizeof-pointer-memaccess
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4468 if ac_fn_c_try_compile "$LINENO"; then :
4469 aros_sizeof_pointer_memaccess="yes"
4471 aros_sizeof_pointer_memaccess="no"
4473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4475 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4476 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4477 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4478 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4482 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4483 CFLAGS=-Wreturn-type
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4495 if ac_fn_c_try_compile "$LINENO"; then :
4496 aros_return_type="yes"
4498 aros_return_type="no"
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4502 $as_echo "$aros_return_type" >&6; }
4503 if test "x-$aros_return_type" = "x-yes" ; then
4504 aros_warnflags_return_type=-Wreturn-type
4505 aros_nowarnflags_return_type=-Wno-return-type
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4509 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4510 CFLAGS=-Wformat-zero-length
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4522 if ac_fn_c_try_compile "$LINENO"; then :
4523 aros_format_zero_length="yes"
4525 aros_format_zero_length="no"
4527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4529 $as_echo "$aros_format_zero_length" >&6; }
4530 if test "x-$aros_format_zero_length" = "x-yes" ; then
4531 aros_warnflags_format_zero_length=-Wformat-zero-length
4532 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4536 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4537 CFLAGS=-Wlto-type-mismatch
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4549 if ac_fn_c_try_compile "$LINENO"; then :
4550 aros_lto_type_mismatch="yes"
4552 aros_lto_type_mismatch="no"
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4556 $as_echo "$aros_lto_type_mismatch" >&6; }
4557 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4558 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4559 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4563 # export the feature flags...
4581 # ...and warning flags...
4698 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4701 cat >confcache <<\_ACEOF
4702 # This file is a shell script that caches the results of configure
4703 # tests run on this system so they can be shared between configure
4704 # scripts and configure runs, see configure's option --config-cache.
4705 # It is not useful on other systems. If it contains results you don't
4706 # want to keep, you may remove or edit it.
4708 # config.status only pays attention to the cache file if you give it
4709 # the --recheck option to rerun configure.
4711 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4717 # The following way of writing the cache mishandles newlines in values,
4718 # but we know of no workaround that is simple, portable, and efficient.
4719 # So, we kill variables containing newlines.
4720 # Ultrix sh set writes to stderr and can't be redirected directly,
4721 # and sets the high bit in the cache file unless we assign to the vars.
4723 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4724 eval ac_val
=\$
$ac_var
4728 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4729 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4732 _ | IFS | as_nl
) ;; #(
4733 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4734 *) { eval $ac_var=; unset $ac_var;} ;;
4740 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4741 *${as_nl}ac_space
=\
*)
4742 # `set' does not quote correctly, so add quotes: double-quote
4743 # substitution turns \\\\ into \\, and sed turns \\ into \.
4746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4749 # `set' quotes correctly as required by POSIX, so do not add quotes.
4750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4761 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4763 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4764 if test -w "$cache_file"; then
4765 if test "x$cache_file" != "x/dev/null"; then
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4767 $as_echo "$as_me: updating cache $cache_file" >&6;}
4768 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4769 cat confcache
>"$cache_file"
4771 case $cache_file in #(
4773 mv -f confcache
"$cache_file"$$
&&
4774 mv -f "$cache_file"$$
"$cache_file" ;; #(
4776 mv -f confcache
"$cache_file" ;;
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4782 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4787 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4788 # Let make expand exec_prefix.
4789 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4791 # Transform confdefs.h into DEFS.
4792 # Protect against shell expansion while executing Makefile rules.
4793 # Protect against Makefile macro expansion.
4795 # If the first sed substitution is executed (which looks for macros that
4796 # take arguments), then branch to the quote section. Otherwise,
4797 # look for a macro that doesn't take arguments.
4807 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4809 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4813 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4826 DEFS
=`sed -n "$ac_script" confdefs.h`
4832 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4833 # 1. Remove the extension, and $U if already installed.
4834 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4835 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4836 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4837 # will be set to the directory where LIBOBJS objects are built.
4838 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4839 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4843 LTLIBOBJS
=$ac_ltlibobjs
4847 : "${CONFIG_STATUS=./config.status}"
4849 ac_clean_files_save
=$ac_clean_files
4850 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4852 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4854 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4856 # Generated by $as_me.
4857 # Run this file to recreate the current configuration.
4858 # Compiler output produced by configure, useful for debugging
4859 # configure, is in config.log if it exists.
4865 SHELL=\${CONFIG_SHELL-$SHELL}
4868 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4869 ## -------------------- ##
4870 ## M4sh Initialization. ##
4871 ## -------------------- ##
4873 # Be more Bourne compatible
4874 DUALCASE
=1; export DUALCASE
# for MKS sh
4875 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4878 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4879 # is contrary to our usage. Disable this feature.
4880 alias -g '${1+"$@"}'='"$@"'
4881 setopt NO_GLOB_SUBST
4883 case `(set -o) 2>/dev/null` in #(
4895 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4896 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4897 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4899 # Prefer a ksh shell builtin over an external printf program on Solaris,
4900 # but without wasting forks for bash or zsh.
4901 if test -z "$BASH_VERSION$ZSH_VERSION" \
4902 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4903 as_echo='print
-r --'
4904 as_echo_n='print
-rn --'
4905 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4906 as_echo='printf %s
\n'
4907 as_echo_n='printf %s
'
4909 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4910 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4911 as_echo_n='/usr
/ucb
/echo -n'
4913 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4914 as_echo_n_body='eval
4918 expr "X$arg" : "X\\(.*\\)$as_nl";
4919 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4921 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4923 export as_echo_n_body
4924 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4927 as_echo='sh
-c $as_echo_body as_echo
'
4930 # The user is always right.
4931 if test "${PATH_SEPARATOR+set}" != set; then
4933 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4934 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4941 # We need space, tab and new line, in precisely that order. Quoting is
4942 # there to prevent editors from complaining about space-tab.
4943 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4944 # splitting by setting IFS to empty value.)
4947 # Find who we are. Look in the path if we contain no directory separator.
4950 *[\\/]* ) as_myself=$0 ;;
4951 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir=.
4956 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4962 # We did not find ourselves, most probably we were run as `sh COMMAND'
4963 # in which case we are not to be found in the path.
4964 if test "x$as_myself" = x
; then
4967 if test ! -f "$as_myself"; then
4968 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4972 # Unset variables that we do not need and which cause bugs (e.g. in
4973 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4974 # suppresses any "Segmentation fault" message there. '((' could
4975 # trigger a bug in pdksh 5.2.14.
4976 for as_var
in BASH_ENV ENV MAIL MAILPATH
4977 do eval test x\
${$as_var+set} = xset \
4978 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4991 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4994 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4995 # ----------------------------------------
4996 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4997 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4998 # script with STATUS, using 1 if that was 0.
5001 as_status
=$1; test $as_status -eq 0 && as_status
=1
5003 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5004 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5006 $as_echo "$as_me: error: $2" >&2
5007 as_fn_exit
$as_status
5011 # as_fn_set_status STATUS
5012 # -----------------------
5013 # Set $? to STATUS, without forking.
5017 } # as_fn_set_status
5021 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5031 # Portably unset VAR.
5034 { eval $1=; unset $1;}
5036 as_unset
=as_fn_unset
5037 # as_fn_append VAR VALUE
5038 # ----------------------
5039 # Append the text in VALUE to the end of the definition contained in VAR. Take
5040 # advantage of any shell optimizations that allow amortized linear growth over
5041 # repeated appends, instead of the typical quadratic growth present in naive
5043 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5044 eval 'as_fn_append ()
5055 # as_fn_arith ARG...
5056 # ------------------
5057 # Perform arithmetic evaluation on the ARGs, and store the result in the
5058 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5059 # must be portable across $(()) and expr.
5060 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5061 eval 'as_fn_arith ()
5068 as_val
=`expr "$@" || test $? -eq 1`
5073 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5074 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5080 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5081 as_basename
=basename
5086 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5092 as_me
=`$as_basename -- "$0" ||
5093 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5094 X"$0" : 'X\(//\)$' \| \
5095 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5097 sed '/^.*\/\([^/][^/]*\)\/*$/{
5111 # Avoid depending upon Character Ranges.
5112 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5113 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5114 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5115 as_cr_digits
='0123456789'
5116 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5118 ECHO_C
= ECHO_N
= ECHO_T
=
5119 case `echo -n x` in #(((((
5121 case `echo 'xy\c'` in
5122 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5124 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5131 rm -f conf$$ conf$$.exe conf$$.
file
5132 if test -d conf$$.dir
; then
5133 rm -f conf$$.dir
/conf$$.
file
5136 mkdir conf$$.dir
2>/dev
/null
5138 if (echo >conf$$.
file) 2>/dev
/null
; then
5139 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5141 # ... but there are two gotchas:
5142 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5143 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5144 # In both cases, we have to default to `cp -pR'.
5145 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5147 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5155 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5156 rmdir conf$$.dir
2>/dev
/null
5161 # Create "$as_dir" as a directory, including parents if necessary.
5166 -*) as_dir
=.
/$as_dir;;
5168 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5172 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5173 *) as_qdir
=$as_dir;;
5175 as_dirs
="'$as_qdir' $as_dirs"
5176 as_dir
=`$as_dirname -- "$as_dir" ||
5177 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5178 X"$as_dir" : 'X\(//\)[^/]' \| \
5179 X"$as_dir" : 'X\(//\)$' \| \
5180 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5181 $as_echo X"$as_dir" |
5182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5199 test -d "$as_dir" && break
5201 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5202 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5206 if mkdir
-p .
2>/dev
/null
; then
5207 as_mkdir_p
='mkdir -p "$as_dir"'
5209 test -d .
/-p && rmdir .
/-p
5214 # as_fn_executable_p FILE
5215 # -----------------------
5216 # Test if FILE is an executable regular file.
5217 as_fn_executable_p
()
5219 test -f "$1" && test -x "$1"
5220 } # as_fn_executable_p
5222 as_executable_p
=as_fn_executable_p
5224 # Sed expression to map a string onto a valid CPP name.
5225 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5227 # Sed expression to map a string onto a valid variable name.
5228 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5232 ## ----------------------------------- ##
5233 ## Main body of $CONFIG_STATUS script. ##
5234 ## ----------------------------------- ##
5236 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5239 # Save the log message, to keep $0 and so on meaningful, and to
5240 # report actual input values of CONFIG_FILES etc. instead of their
5241 # values after options handling.
5243 This file was extended by $as_me, which was
5244 generated by GNU Autoconf 2.69. Invocation command line was
5246 CONFIG_FILES = $CONFIG_FILES
5247 CONFIG_HEADERS = $CONFIG_HEADERS
5248 CONFIG_LINKS = $CONFIG_LINKS
5249 CONFIG_COMMANDS = $CONFIG_COMMANDS
5252 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5257 case $ac_config_files in *"
5258 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5264 # Files that config.status was made for.
5265 config_files="$ac_config_files"
5269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5271 \`$as_me' instantiates files and other configuration actions
5272 from templates according to the current configuration. Unless the files
5273 and actions are specified as TAGs, all are instantiated by default.
5275 Usage: $0 [OPTION]... [TAG]...
5277 -h, --help print this help, then exit
5278 -V, --version print version number and configuration settings, then exit
5279 --config print configuration, then exit
5280 -q, --quiet, --silent
5281 do not print progress messages
5282 -d, --debug don't remove temporary files
5283 --recheck update $as_me by reconfiguring in the same conditions
5284 --file=FILE[:TEMPLATE]
5285 instantiate the configuration file FILE
5287 Configuration files:
5290 Report bugs to the package provider."
5293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5294 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5297 configured by $0, generated by GNU Autoconf 2.69,
5298 with options \\"\$ac_cs_config\\"
5300 Copyright (C) 2012 Free Software Foundation, Inc.
5301 This config.status script is free software; the Free Software Foundation
5302 gives unlimited permission to copy, distribute and modify it."
5306 test -n "\$AWK" || AWK=awk
5309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5310 # The default lists apply if the user does not specify any file.
5316 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5317 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5321 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5333 # Handling of the options.
5334 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5336 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5337 $as_echo "$ac_cs_version"; exit ;;
5338 --config |
--confi |
--conf |
--con |
--co |
--c )
5339 $as_echo "$ac_cs_config"; exit ;;
5340 --debug |
--debu |
--deb |
--de |
--d |
-d )
5342 --file |
--fil |
--fi |
--f )
5345 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5346 '') as_fn_error $?
"missing file argument" ;;
5348 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5349 ac_need_defaults
=false
;;
5350 --he |
--h |
--help |
--hel |
-h )
5351 $as_echo "$ac_cs_usage"; exit ;;
5352 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5353 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5357 -*) as_fn_error $?
"unrecognized option: \`$1'
5358 Try \`$0 --help' for more information." ;;
5360 *) as_fn_append ac_config_targets
" $1"
5361 ac_need_defaults
=false
;;
5367 ac_configure_extra_args
=
5369 if $ac_cs_silent; then
5371 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5376 if \$ac_cs_recheck; then
5377 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5379 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5380 CONFIG_SHELL='$SHELL'
5386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5390 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5391 ## Running $as_me. ##
5397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5402 # Handling of arguments.
5403 for ac_config_target
in $ac_config_targets
5405 case $ac_config_target in
5406 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5408 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5413 # If the user did not use the arguments to specify the items to instantiate,
5414 # then the envvar interface is used. Set only those that are not.
5415 # We use the long form for the default assignment because of an extremely
5416 # bizarre bug on SunOS 4.1.3.
5417 if $ac_need_defaults; then
5418 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5421 # Have a temporary directory for convenience. Make it in the build tree
5422 # simply because there is no reason against having it here, and in addition,
5423 # creating and moving files from /tmp can sometimes cause problems.
5424 # Hook for its removal unless debugging.
5425 # Note that there is a small window in which the directory will not be cleaned:
5426 # after its creation but before its name has been assigned to `$tmp'.
5430 trap 'exit_status=$?
5432 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5434 trap 'as_fn_exit 1' 1 2 13 15
5436 # Create a (secure) tmp directory for tmp files.
5439 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5443 tmp
=.
/conf$$
-$RANDOM
5444 (umask 077 && mkdir
"$tmp")
5445 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5448 # Set up the scripts for CONFIG_FILES section.
5449 # No need to generate them if there are no CONFIG_FILES.
5450 # This happens for instance with `./config.status config.h'.
5451 if test -n "$CONFIG_FILES"; then
5454 ac_cr
=`echo X | tr X '\015'`
5455 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5456 # But we know of no other shell where ac_cr would be empty at this
5457 # point, so we can use a bashism as a fallback.
5458 if test "x$ac_cr" = x
; then
5459 eval ac_cr
=\$
\'\\r
\'
5461 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5462 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5468 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5473 echo "cat >conf$$subs.awk <<_ACEOF" &&
5474 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5477 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5478 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5480 for ac_last_try in false false false false false :; do
5481 . ./conf$$subs.sh ||
5482 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5484 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5485 if test $ac_delim_n = $ac_delim_num; then
5487 elif $ac_last_try; then
5488 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5490 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5496 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5500 s/^/S["/; s
/!.
*/"]=/
5510 s/\(.\{148\}\)..*/\1/
5512 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5517 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5524 s/\(.\{148\}\)..*/\1/
5526 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5530 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5535 ' <conf$$subs.awk | sed '
5540 ' >>$CONFIG_STATUS || ac_write_fail=1
5541 rm -f conf$$subs.awk
5542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5544 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5545 for (key in S) S_is_set[key] = 1
5551 nfields = split(line, field, "@
")
5553 len = length(field[1])
5554 for (i = 2; i < nfields; i++) {
5556 keylen = length(key)
5557 if (S_is_set[key]) {
5559 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5560 len += length(value) + length(field[++i])
5571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5572 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5573 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5576 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5577 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5580 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5581 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5582 # trailing colons and then remove the whole line if VPATH becomes empty
5583 # (actually we leave an empty line to preserve line numbers).
5584 if test "x
$srcdir" = x.; then
5585 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5604 fi # test -n "$CONFIG_FILES"
5607 eval set X " :F
$CONFIG_FILES "
5612 :[FHLC]) ac_mode=$ac_tag; continue;;
5614 case $ac_mode$ac_tag in
5616 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5617 :[FH]-) ac_tag=-:-;;
5618 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5635 -) ac_f="$ac_tmp/stdin";;
5636 *) # Look for the file first in the build tree, then in the source tree
5637 # (if the path is not absolute). The absolute path cannot be DOS-style,
5638 # because $ac_f cannot contain `:'.
5642 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5644 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5646 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5647 as_fn_append ac_file_inputs " '$ac_f'"
5650 # Let's still pretend it is `configure' which instantiates (i.e., don't
5651 # use $as_me), people would be surprised to read:
5652 # /* config.h. Generated by config.status. */
5653 configure_input='Generated from '`
5654 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5656 if test x"$ac_file" != x-; then
5657 configure_input="$ac_file.
$configure_input"
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5659 $as_echo "$as_me: creating
$ac_file" >&6;}
5661 # Neutralize special characters interpreted by sed in replacement strings.
5662 case $configure_input in #(
5663 *\&* | *\|* | *\\* )
5664 ac_sed_conf_input=`$as_echo "$configure_input" |
5665 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5666 *) ac_sed_conf_input=$configure_input;;
5670 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5671 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5676 ac_dir=`$as_dirname -- "$ac_file" ||
5677 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5678 X"$ac_file" : 'X\(//\)[^/]' \| \
5679 X"$ac_file" : 'X\(//\)$' \| \
5680 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5681 $as_echo X"$ac_file" |
5682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5699 as_dir="$ac_dir"; as_fn_mkdir_p
5703 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5705 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5706 # A "..
" for each directory in $ac_dir_suffix.
5707 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5708 case $ac_top_builddir_sub in
5709 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5710 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5713 ac_abs_top_builddir=$ac_pwd
5714 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5715 # for backward compatibility:
5716 ac_top_builddir=$ac_top_build_prefix
5719 .) # We are building in place.
5721 ac_top_srcdir=$ac_top_builddir_sub
5722 ac_abs_top_srcdir=$ac_pwd ;;
5723 [\\/]* | ?:[\\/]* ) # Absolute name.
5724 ac_srcdir=$srcdir$ac_dir_suffix;
5725 ac_top_srcdir=$srcdir
5726 ac_abs_top_srcdir=$srcdir ;;
5728 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5729 ac_top_srcdir=$ac_top_build_prefix$srcdir
5730 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5732 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5744 # If the template does not know about datarootdir, expand it.
5745 # FIXME: This hack should be removed a few years after 2.60.
5746 ac_datarootdir_hack=; ac_datarootdir_seen=
5757 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5758 *datarootdir*) ac_datarootdir_seen=yes;;
5759 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5761 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5764 ac_datarootdir_hack='
5765 s&@datadir@&$datadir&g
5766 s&@docdir@&$docdir&g
5767 s&@infodir@&$infodir&g
5768 s&@localedir@&$localedir&g
5769 s&@mandir@&$mandir&g
5770 s&\\\${datarootdir}&$datarootdir&g' ;;
5774 # Neutralize VPATH when `$srcdir' = `.'.
5775 # Shell code in configure.ac might set extrasub.
5776 # FIXME: do we really want to maintain this feature?
5777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5778 ac_sed_extra="$ac_vpsub
5781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5783 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5784 s|@configure_input@|
$ac_sed_conf_input|
;t t
5785 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5786 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5787 s
&@srcdir@
&$ac_srcdir&;t t
5788 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5789 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5790 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5791 s
&@builddir@
&$ac_builddir&;t t
5792 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5793 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5794 $ac_datarootdir_hack
5796 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5797 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5799 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5800 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5801 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5802 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5804 which seems to be undefined. Please make sure it is defined" >&5
5805 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5806 which seems to be undefined. Please make sure it is defined" >&2;}
5808 rm -f "$ac_tmp/stdin"
5810 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5811 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5825 ac_clean_files=$ac_clean_files_save
5827 test $ac_write_fail = 0 ||
5828 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5831 # configure is writing to config.log, and then calls config.status.
5832 # config.status does its own redirection, appending to config.log.
5833 # Unfortunately, on DOS this fails, as config.log is still kept open
5834 # by configure, so config.status won't be able to
write to it
; its
5835 # output is simply discarded. So we exec the FD to /dev/null,
5836 # effectively closing config.log, so it can be properly (re)opened and
5837 # appended to by config.status. When coming back to configure, we
5838 # need to make the FD available again.
5839 if test "$no_create" != yes; then
5841 ac_config_status_args
=
5842 test "$silent" = yes &&
5843 ac_config_status_args
="$ac_config_status_args --quiet"
5845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5848 # would make configure fail if this is the last instruction.
5849 $ac_cs_success || as_fn_exit
1
5851 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5853 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}