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_cflags_volatile_register_var
588 aros_cflags_narrowing
589 aros_cflags_conversion_null
590 aros_cflags_missing_braces
591 aros_cflags_unused_local_typedefs
593 aros_cflags_attributes
594 aros_cflags_sign_compare
595 aros_cflags_deprecated_declarations
596 aros_cflags_frame_address
597 aros_cflags_shift_overflow
598 aros_cflags_pointer_sign
599 aros_cflags_logical_not_parentheses
600 aros_cflags_bool_compare
601 aros_cflags_incompatible_pointer_types
603 aros_cflags_write_strings
604 aros_cflags_unused_const_variable
605 aros_cflags_pointer_to_int_cast
606 aros_cflags_int_to_pointer_cast
607 aros_cflags_int_conversion
608 aros_cflags_discarded_array_qualifiers
609 aros_cflags_unknown_pragmas
610 aros_cflags_sequence_point
611 aros_cflags_discarded_qualifiers
614 aros_cflags_aggressive_loop_optimizations
615 aros_cflags_implicit_int
616 aros_cflags_format_contains_nul
617 aros_cflags_endif_labels
618 aros_cflags_char_subscripts
619 aros_cflags_parentheses
621 aros_cflags_implicit_function_declaration
622 aros_cflags_maybe_uninitialized
623 aros_cflags_uninitialized
624 aros_cflags_unused_function
625 aros_cflags_unused_variable
626 aros_cflags_unused_value
628 aros_cflags_nonnull_compare
629 aros_cflags_misleading_indentation
630 aros_cflags_format_security
631 aros_cflags_strict_overflow
632 aros_cflags_strict_prototypes
633 aros_cflags_enum_compare
634 aros_cflags_array_bounds
635 aros_cflags_strict_aliasing
636 aros_cflags_unused_but_set_variable
637 aros_cflags_unknown_warning_option
638 aros_cflags_unused_command_line_argument
639 aros_cflags_iquote_end
641 aros_cflags_loop_strip_mine
642 aros_cflags_loop_interchange
643 aros_cflags_loop_block
679 program_transform_name
692 enable_option_checking
695 ac_precious_vars
='build_alias
705 # Initialize some variables set by options.
707 ac_init_version
=false
708 ac_unrecognized_opts
=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
719 program_transform_name
=s
,x
,x
,
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir
='${exec_prefix}/bin'
734 sbindir
='${exec_prefix}/sbin'
735 libexecdir
='${exec_prefix}/libexec'
736 datarootdir
='${prefix}/share'
737 datadir
='${datarootdir}'
738 sysconfdir
='${prefix}/etc'
739 sharedstatedir
='${prefix}/com'
740 localstatedir
='${prefix}/var'
741 includedir
='${prefix}/include'
742 oldincludedir
='/usr/include'
743 docdir
='${datarootdir}/doc/${PACKAGE}'
744 infodir
='${datarootdir}/info'
749 libdir
='${exec_prefix}/lib'
750 localedir
='${datarootdir}/locale'
751 mandir
='${datarootdir}/man'
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\
$ac_option
765 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
776 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
778 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
781 -build |
--build |
--buil |
--bui |
--bu)
782 ac_prev
=build_alias
;;
783 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
784 build_alias
=$ac_optarg ;;
786 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
787 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
788 ac_prev
=cache_file
;;
789 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
790 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
791 cache_file
=$ac_optarg ;;
794 cache_file
=config.cache
;;
796 -datadir |
--datadir |
--datadi |
--datad)
798 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
799 datadir
=$ac_optarg ;;
801 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
802 |
--dataroo |
--dataro |
--datar)
803 ac_prev
=datarootdir
;;
804 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
805 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
806 datarootdir
=$ac_optarg ;;
808 -disable-* |
--disable-*)
809 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
812 as_fn_error $?
"invalid feature name: $ac_useropt"
813 ac_useropt_orig
=$ac_useropt
814 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
819 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep
=', ';;
822 eval enable_
$ac_useropt=no
;;
824 -docdir |
--docdir |
--docdi |
--doc |
--do)
826 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
829 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
831 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
834 -enable-* |
--enable-*)
835 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
838 as_fn_error $?
"invalid feature name: $ac_useropt"
839 ac_useropt_orig
=$ac_useropt
840 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep
=', ';;
848 eval enable_
$ac_useropt=\
$ac_optarg ;;
850 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
851 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
852 |
--exec |
--exe |
--ex)
853 ac_prev
=exec_prefix
;;
854 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
855 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
856 |
--exec=* |
--exe=* |
--ex=*)
857 exec_prefix
=$ac_optarg ;;
859 -gas |
--gas |
--ga |
--g)
860 # Obsolete; use --with-gas.
863 -help |
--help |
--hel |
--he |
-h)
865 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
866 ac_init_help
=recursive
;;
867 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
868 ac_init_help
=short
;;
870 -host |
--host |
--hos |
--ho)
871 ac_prev
=host_alias
;;
872 -host=* |
--host=* |
--hos=* |
--ho=*)
873 host_alias
=$ac_optarg ;;
875 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
877 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
879 htmldir
=$ac_optarg ;;
881 -includedir |
--includedir |
--includedi |
--included |
--include \
882 |
--includ |
--inclu |
--incl |
--inc)
883 ac_prev
=includedir
;;
884 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
885 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
886 includedir
=$ac_optarg ;;
888 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
890 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
891 infodir
=$ac_optarg ;;
893 -libdir |
--libdir |
--libdi |
--libd)
895 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
898 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
899 |
--libexe |
--libex |
--libe)
900 ac_prev
=libexecdir
;;
901 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
902 |
--libexe=* |
--libex=* |
--libe=*)
903 libexecdir
=$ac_optarg ;;
905 -localedir |
--localedir |
--localedi |
--localed |
--locale)
907 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
908 localedir
=$ac_optarg ;;
910 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
911 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
912 ac_prev
=localstatedir
;;
913 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
914 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
915 localstatedir
=$ac_optarg ;;
917 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
919 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
923 # Obsolete; use --without-fp.
926 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
927 |
--no-cr |
--no-c |
-n)
930 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
931 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
934 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
935 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
936 |
--oldin |
--oldi |
--old |
--ol |
--o)
937 ac_prev
=oldincludedir
;;
938 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
939 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
940 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
941 oldincludedir
=$ac_optarg ;;
943 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
945 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
948 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
949 |
--program-pre |
--program-pr |
--program-p)
950 ac_prev
=program_prefix
;;
951 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
952 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
953 program_prefix
=$ac_optarg ;;
955 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
956 |
--program-suf |
--program-su |
--program-s)
957 ac_prev
=program_suffix
;;
958 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
959 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
960 program_suffix
=$ac_optarg ;;
962 -program-transform-name |
--program-transform-name \
963 |
--program-transform-nam |
--program-transform-na \
964 |
--program-transform-n |
--program-transform- \
965 |
--program-transform |
--program-transfor \
966 |
--program-transfo |
--program-transf \
967 |
--program-trans |
--program-tran \
968 |
--progr-tra |
--program-tr |
--program-t)
969 ac_prev
=program_transform_name
;;
970 -program-transform-name=* |
--program-transform-name=* \
971 |
--program-transform-nam=* |
--program-transform-na=* \
972 |
--program-transform-n=* |
--program-transform-=* \
973 |
--program-transform=* |
--program-transfor=* \
974 |
--program-transfo=* |
--program-transf=* \
975 |
--program-trans=* |
--program-tran=* \
976 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
977 program_transform_name
=$ac_optarg ;;
979 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
981 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
984 -psdir |
--psdir |
--psdi |
--psd |
--ps)
986 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
989 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
990 |
-silent |
--silent |
--silen |
--sile |
--sil)
993 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
995 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
997 sbindir
=$ac_optarg ;;
999 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1000 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1001 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1003 ac_prev
=sharedstatedir
;;
1004 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1005 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1006 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1008 sharedstatedir
=$ac_optarg ;;
1010 -site |
--site |
--sit)
1012 -site=* |
--site=* |
--sit=*)
1015 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1017 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1018 srcdir
=$ac_optarg ;;
1020 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1021 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1022 ac_prev
=sysconfdir
;;
1023 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1024 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1025 sysconfdir
=$ac_optarg ;;
1027 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1028 ac_prev
=target_alias
;;
1029 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1030 target_alias
=$ac_optarg ;;
1032 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1035 -version |
--version |
--versio |
--versi |
--vers |
-V)
1036 ac_init_version
=: ;;
1039 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 as_fn_error $?
"invalid package name: $ac_useropt"
1043 ac_useropt_orig
=$ac_useropt
1044 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1049 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1050 ac_unrecognized_sep
=', ';;
1052 eval with_
$ac_useropt=\
$ac_optarg ;;
1054 -without-* |
--without-*)
1055 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1058 as_fn_error $?
"invalid package name: $ac_useropt"
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval with_
$ac_useropt=no
;;
1071 # Obsolete; use --with-x.
1074 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1075 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1076 ac_prev
=x_includes
;;
1077 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1078 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1079 x_includes
=$ac_optarg ;;
1081 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1082 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1083 ac_prev
=x_libraries
;;
1084 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1085 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1086 x_libraries
=$ac_optarg ;;
1088 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1089 Try \`$0 --help' for more information"
1093 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1094 # Reject names that are not valid shell variable names.
1095 case $ac_envvar in #(
1096 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1097 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1099 eval $ac_envvar=\
$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1113 if test -n "$ac_prev"; then
1114 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1115 as_fn_error $?
"missing argument to $ac_option"
1118 if test -n "$ac_unrecognized_opts"; then
1119 case $enable_option_checking in
1121 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1122 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1126 # Check all directory arguments for consistency.
1127 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1132 eval ac_val
=\$
$ac_var
1133 # Remove trailing slashes.
1136 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1137 eval $ac_var=\
$ac_val;;
1139 # Be sure to have absolute directory names.
1141 [\\/$
]* | ?
:[\\/]* ) continue;;
1142 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1144 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1152 target
=$target_alias
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x
; then
1156 if test "x$build_alias" = x
; then
1157 cross_compiling
=maybe
1158 elif test "x$build_alias" != "x$host_alias"; then
1164 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1166 test "$silent" = yes && exec 6>/dev
/null
1169 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1170 ac_ls_di
=`ls -di .` &&
1171 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1172 as_fn_error $?
"working directory cannot be determined"
1173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1174 as_fn_error $?
"pwd does not report name of working directory"
1177 # Find the source files, if location was not specified.
1178 if test -z "$srcdir"; then
1179 ac_srcdir_defaulted
=yes
1180 # Try the directory containing this script, then the parent directory.
1181 ac_confdir
=`$as_dirname -- "$as_myself" ||
1182 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1183 X"$as_myself" : 'X\(//\)[^/]' \| \
1184 X"$as_myself" : 'X\(//\)$' \| \
1185 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1186 $as_echo X"$as_myself" |
1187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1209 ac_srcdir_defaulted
=no
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1213 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1215 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1219 # When building in place, set srcdir=.
1220 if test "$ac_abs_confdir" = "$ac_pwd"; then
1223 # Remove unnecessary trailing slashes from srcdir.
1224 # Double slashes in file names in object file debugging info
1225 # mess up M-x gdb in Emacs.
1227 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1229 for ac_var
in $ac_precious_vars; do
1230 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1231 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1232 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1233 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1237 # Report the --help message.
1239 if test "$ac_init_help" = "long"; then
1240 # Omit some internal or obsolete options to make the list less imposing.
1241 # This message is too long to be a string in the A/UX 3.1 sh.
1243 \`configure' configures this package to adapt to many kinds of systems.
1245 Usage: $0 [OPTION]... [VAR=VALUE]...
1247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248 VAR=VALUE. See below for descriptions of some of the useful variables.
1250 Defaults for the options are specified in brackets.
1253 -h, --help display this help and exit
1254 --help=short display options specific to this package
1255 --help=recursive display the short help of all the included packages
1256 -V, --version display version information and exit
1257 -q, --quiet, --silent do not print \`checking ...' messages
1258 --cache-file=FILE cache test results in FILE [disabled]
1259 -C, --config-cache alias for \`--cache-file=config.cache'
1260 -n, --no-create do not create output files
1261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1263 Installation directories:
1264 --prefix=PREFIX install architecture-independent files in PREFIX
1265 [$ac_default_prefix]
1266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1269 By default, \`make install' will install all the files in
1270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272 for instance \`--prefix=\$HOME'.
1274 For better control, use the options below.
1276 Fine tuning of the installation directories:
1277 --bindir=DIR user executables [EPREFIX/bin]
1278 --sbindir=DIR system admin executables [EPREFIX/sbin]
1279 --libexecdir=DIR program executables [EPREFIX/libexec]
1280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1302 if test -n "$ac_init_help"; then
1307 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1308 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1309 --with-config-dir=VERSION
1310 Location of generated target config files
1312 Some influential environment variables
:
1313 CC C compiler
command
1314 CFLAGS C compiler flags
1315 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1316 nonstandard directory
<lib dir
>
1317 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1318 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1319 you have headers
in a nonstandard directory
<include dir
>
1321 Use these variables to override the choices made by
`configure' or to help
1322 it to find libraries and programs with nonstandard names/locations.
1324 Report bugs to the package provider.
1329 if test "$ac_init_help" = "recursive"; then
1330 # If there are subdirs, report their specific --help.
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1332 test -d "$ac_dir" ||
1333 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1338 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1341 # A ".." for each directory in $ac_dir_suffix.
1342 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1343 case $ac_top_builddir_sub in
1344 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1348 ac_abs_top_builddir=$ac_pwd
1349 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1350 # for backward compatibility:
1351 ac_top_builddir=$ac_top_build_prefix
1354 .) # We are building in place.
1356 ac_top_srcdir=$ac_top_builddir_sub
1357 ac_abs_top_srcdir=$ac_pwd ;;
1358 [\\/]* | ?:[\\/]* ) # Absolute name.
1359 ac_srcdir=$srcdir$ac_dir_suffix;
1360 ac_top_srcdir=$srcdir
1361 ac_abs_top_srcdir=$srcdir ;;
1363 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1364 ac_top_srcdir=$ac_top_build_prefix$srcdir
1365 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1367 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1369 cd "$ac_dir" || { ac_status=$?; continue; }
1370 # Check for guested configure.
1371 if test -f "$ac_srcdir/configure.gnu"; then
1373 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1374 elif test -f "$ac_srcdir/configure"; then
1376 $SHELL "$ac_srcdir/configure" --help=recursive
1378 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1380 cd "$ac_pwd" || { ac_status=$?; break; }
1384 test -n "$ac_init_help" && exit $ac_status
1385 if $ac_init_version; then
1388 generated by GNU Autoconf 2.69
1390 Copyright (C) 2012 Free Software Foundation, Inc.
1391 This configure script is free software; the Free Software Foundation
1392 gives unlimited permission to copy, distribute and modify it.
1397 ## ------------------------ ##
1398 ## Autoconf initialization. ##
1399 ## ------------------------ ##
1401 # ac_fn_c_try_compile LINENO
1402 # --------------------------
1403 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1404 ac_fn_c_try_compile ()
1406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1407 rm -f conftest.$ac_objext
1408 if { { ac_try="$ac_compile"
1410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1411 *) ac_try_echo
=$ac_try;;
1413 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1414 $as_echo "$ac_try_echo"; } >&5
1415 (eval "$ac_compile") 2>conftest.err
1417 if test -s conftest.err
; then
1418 grep -v '^ *+' conftest.err
>conftest.er1
1419 cat conftest.er1
>&5
1420 mv -f conftest.er1 conftest.err
1422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1423 test $ac_status = 0; } && {
1424 test -z "$ac_c_werror_flag" ||
1425 test ! -s conftest.err
1426 } && test -s conftest.
$ac_objext; then :
1429 $as_echo "$as_me: failed program was:" >&5
1430 sed 's/^/| /' conftest.
$ac_ext >&5
1434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1435 as_fn_set_status
$ac_retval
1437 } # ac_fn_c_try_compile
1438 cat >config.log
<<_ACEOF
1439 This file contains any messages produced by compilers while
1440 running configure, to aid debugging if configure makes a mistake.
1442 It was created by $as_me, which was
1443 generated by GNU Autoconf 2.69. Invocation command line was
1455 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1456 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1457 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1458 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1459 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1461 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1462 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1464 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1465 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1466 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1467 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1468 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1469 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1470 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir
=.
1479 $as_echo "PATH: $as_dir"
1495 # Keep a trace of the command line.
1496 # Strip out --no-create and --no-recursion so they do not pile up.
1497 # Strip out --silent because we don't want to record it for future runs.
1498 # Also quote any args containing shell meta-characters.
1499 # Make two passes to allow for proper duplicate-argument suppression.
1503 ac_must_keep_next
=false
1509 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1510 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1511 |
-silent |
--silent |
--silen |
--sile |
--sil)
1514 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1517 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1519 as_fn_append ac_configure_args1
" '$ac_arg'"
1520 if test $ac_must_keep_next = true
; then
1521 ac_must_keep_next
=false
# Got value, back to normal.
1524 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1525 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1526 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1527 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1528 case "$ac_configure_args0 " in
1529 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1532 -* ) ac_must_keep_next
=true
;;
1535 as_fn_append ac_configure_args
" '$ac_arg'"
1540 { ac_configure_args0
=; unset ac_configure_args0
;}
1541 { ac_configure_args1
=; unset ac_configure_args1
;}
1543 # When interrupted or exit'd, cleanup temporary files, and complete
1544 # config.log. We remove comments because anyway the quotes in there
1545 # would cause problems or look ugly.
1546 # WARNING: Use '\'' to represent an apostrophe within the trap.
1547 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1548 trap 'exit_status=$?
1549 # Save into config.log some information that might help in debugging.
1553 $as_echo "## ---------------- ##
1554 ## Cache variables. ##
1555 ## ---------------- ##"
1557 # The following way of writing the cache mishandles newlines in values,
1559 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1560 eval ac_val=\$$ac_var
1564 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1565 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1568 _ | IFS | as_nl) ;; #(
1569 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1570 *) { eval $ac_var=; unset $ac_var;} ;;
1575 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1576 *${as_nl}ac_space=\ *)
1578 "s/'\''/'\''\\\\'\'''\''/g;
1579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1582 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1589 $as_echo "## ----------------- ##
1590 ## Output variables. ##
1591 ## ----------------- ##"
1593 for ac_var in $ac_subst_vars
1595 eval ac_val=\$$ac_var
1597 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1599 $as_echo "$ac_var='\''$ac_val'\''"
1603 if test -n "$ac_subst_files"; then
1604 $as_echo "## ------------------- ##
1605 ## File substitutions. ##
1606 ## ------------------- ##"
1608 for ac_var
in $ac_subst_files
1610 eval ac_val
=\$
$ac_var
1612 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614 $as_echo "$ac_var='\''$ac_val'\''"
1619 if test -s confdefs.h; then
1620 $as_echo "## ----------- ##
1627 test "$ac_signal" != 0 &&
1628 $as_echo "$as_me: caught signal $ac_signal"
1629 $as_echo "$as_me: exit $exit_status"
1631 rm -f core *.core core.conftest.* &&
1632 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1635 for ac_signal
in 1 2 13 15; do
1636 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1640 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1641 rm -f -r conftest
* confdefs.h
1643 $as_echo "/* confdefs.h */" > confdefs.h
1645 # Predefined preprocessor variables.
1647 cat >>confdefs.h
<<_ACEOF
1648 #define PACKAGE_NAME "$PACKAGE_NAME"
1651 cat >>confdefs.h
<<_ACEOF
1652 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1655 cat >>confdefs.h
<<_ACEOF
1656 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1659 cat >>confdefs.h
<<_ACEOF
1660 #define PACKAGE_STRING "$PACKAGE_STRING"
1663 cat >>confdefs.h
<<_ACEOF
1664 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1667 cat >>confdefs.h
<<_ACEOF
1668 #define PACKAGE_URL "$PACKAGE_URL"
1672 # Let the site file select an alternate cache file if it wants to.
1673 # Prefer an explicitly selected file to automatically selected ones.
1676 if test -n "$CONFIG_SITE"; then
1677 # We do not want a PATH search for config.site.
1678 case $CONFIG_SITE in #((
1679 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1680 */*) ac_site_file1
=$CONFIG_SITE;;
1681 *) ac_site_file1
=.
/$CONFIG_SITE;;
1683 elif test "x$prefix" != xNONE
; then
1684 ac_site_file1
=$prefix/share
/config.site
1685 ac_site_file2
=$prefix/etc
/config.site
1687 ac_site_file1
=$ac_default_prefix/share
/config.site
1688 ac_site_file2
=$ac_default_prefix/etc
/config.site
1690 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1692 test "x$ac_site_file" = xNONE
&& continue
1693 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1695 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1696 sed 's/^/| /' "$ac_site_file" >&5
1698 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1700 as_fn_error $?
"failed to load site script $ac_site_file
1701 See \`config.log' for more details" "$LINENO" 5; }
1705 if test -r "$cache_file"; then
1706 # Some versions of bash will fail to source /dev/null (special files
1707 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1708 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1710 $as_echo "$as_me: loading cache $cache_file" >&6;}
1712 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1713 *) .
"./$cache_file";;
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1718 $as_echo "$as_me: creating cache $cache_file" >&6;}
1722 # Check that the precious variables saved in the cache have kept the same
1724 ac_cache_corrupted
=false
1725 for ac_var
in $ac_precious_vars; do
1726 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1727 eval ac_new_set
=\
$ac_env_${ac_var}_set
1728 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1729 eval ac_new_val
=\
$ac_env_${ac_var}_value
1730 case $ac_old_set,$ac_new_set in
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1733 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1734 ac_cache_corrupted
=: ;;
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1737 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1738 ac_cache_corrupted
=: ;;
1741 if test "x$ac_old_val" != "x$ac_new_val"; then
1742 # differences in whitespace do not lead to failure.
1743 ac_old_val_w
=`echo x $ac_old_val`
1744 ac_new_val_w
=`echo x $ac_new_val`
1745 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1747 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1748 ac_cache_corrupted
=:
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1751 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1752 eval $ac_var=\
$ac_old_val
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1755 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1757 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1760 # Pass precious variables to config.status.
1761 if test "$ac_new_set" = set; then
1763 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 *) ac_arg
=$ac_var=$ac_new_val ;;
1766 case " $ac_configure_args " in
1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1768 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1772 if $ac_cache_corrupted; then
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1776 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1777 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1779 ## -------------------- ##
1780 ## Main body of script. ##
1781 ## -------------------- ##
1784 ac_cpp
='$CPP $CPPFLAGS'
1785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1792 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
1793 if test -f "$ac_dir/install-sh"; then
1795 ac_install_sh
="$ac_aux_dir/install-sh -c"
1797 elif test -f "$ac_dir/install.sh"; then
1799 ac_install_sh
="$ac_aux_dir/install.sh -c"
1801 elif test -f "$ac_dir/shtool"; then
1803 ac_install_sh
="$ac_aux_dir/shtool install -c"
1807 if test -z "$ac_aux_dir"; then
1808 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1811 # These three variables are undocumented and unsupported,
1812 # and are intended to be withdrawn in a future Autoconf release.
1813 # They can cause serious problems if a builder's source tree is in a directory
1814 # whose full name contains unusual characters.
1815 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1816 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1817 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1821 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1822 AROS_BUILDDIR_UNIX
=${PWD}
1824 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1827 NOLINKFLAGS
="-nostdlib -nostartfiles"
1828 LDFLAGS
=$NOLINKFLAGS
1829 # The first step is to find the binaries.
1831 ac_cpp
='$CPP $CPPFLAGS'
1832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1835 if test -n "$ac_tool_prefix"; then
1836 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1837 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1839 $as_echo_n "checking for $ac_word... " >&6; }
1840 if ${ac_cv_prog_CC+:} false
; then :
1841 $as_echo_n "(cached) " >&6
1843 if test -n "$CC"; then
1844 ac_cv_prog_CC
="$CC" # Let the user override the test.
1846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1850 test -z "$as_dir" && as_dir
=.
1851 for ac_exec_ext
in '' $ac_executable_extensions; do
1852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1853 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 if test -n "$CC"; then
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1866 $as_echo "$CC" >&6; }
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1869 $as_echo "no" >&6; }
1874 if test -z "$ac_cv_prog_CC"; then
1876 # Extract the first word of "gcc", so it can be a program name with args.
1877 set dummy gcc
; ac_word
=$2
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1879 $as_echo_n "checking for $ac_word... " >&6; }
1880 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1881 $as_echo_n "(cached) " >&6
1883 if test -n "$ac_ct_CC"; then
1884 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir
=.
1891 for ac_exec_ext
in '' $ac_executable_extensions; do
1892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_ac_ct_CC
="gcc"
1894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1904 if test -n "$ac_ct_CC"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1906 $as_echo "$ac_ct_CC" >&6; }
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1909 $as_echo "no" >&6; }
1912 if test "x$ac_ct_CC" = x
; then
1915 case $cross_compiling:$ac_tool_warned in
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1919 ac_tool_warned
=yes ;;
1927 if test -z "$CC"; then
1928 if test -n "$ac_tool_prefix"; then
1929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1930 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1932 $as_echo_n "checking for $ac_word... " >&6; }
1933 if ${ac_cv_prog_CC+:} false
; then :
1934 $as_echo_n "(cached) " >&6
1936 if test -n "$CC"; then
1937 ac_cv_prog_CC
="$CC" # Let the user override the test.
1939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1943 test -z "$as_dir" && as_dir
=.
1944 for ac_exec_ext
in '' $ac_executable_extensions; do
1945 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 if test -n "$CC"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1959 $as_echo "$CC" >&6; }
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1962 $as_echo "no" >&6; }
1968 if test -z "$CC"; then
1969 # Extract the first word of "cc", so it can be a program name with args.
1970 set dummy cc
; ac_word
=$2
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1972 $as_echo_n "checking for $ac_word... " >&6; }
1973 if ${ac_cv_prog_CC+:} false
; then :
1974 $as_echo_n "(cached) " >&6
1976 if test -n "$CC"; then
1977 ac_cv_prog_CC
="$CC" # Let the user override the test.
1980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir
=.
1985 for ac_exec_ext
in '' $ac_executable_extensions; do
1986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1988 ac_prog_rejected
=yes
1992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1999 if test $ac_prog_rejected = yes; then
2000 # We found a bogon in the path, so make sure we never use it.
2001 set dummy
$ac_cv_prog_CC
2003 if test $# != 0; then
2004 # We chose a different compiler from the bogus one.
2005 # However, it has the same basename, so the bogon will be chosen
2006 # first if we set CC to just the basename; use the full file name.
2008 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2014 if test -n "$CC"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2016 $as_echo "$CC" >&6; }
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2019 $as_echo "no" >&6; }
2024 if test -z "$CC"; then
2025 if test -n "$ac_tool_prefix"; then
2026 for ac_prog
in cl.exe
2028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2029 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2031 $as_echo_n "checking for $ac_word... " >&6; }
2032 if ${ac_cv_prog_CC+:} false
; then :
2033 $as_echo_n "(cached) " >&6
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC
="$CC" # Let the user override the test.
2038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir
=.
2043 for ac_exec_ext
in '' $ac_executable_extensions; do
2044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2045 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 if test -n "$CC"; then
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2058 $as_echo "$CC" >&6; }
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2061 $as_echo "no" >&6; }
2065 test -n "$CC" && break
2068 if test -z "$CC"; then
2070 for ac_prog
in cl.exe
2072 # Extract the first word of "$ac_prog", so it can be a program name with args.
2073 set dummy
$ac_prog; ac_word
=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2077 $as_echo_n "(cached) " >&6
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir
=.
2087 for ac_exec_ext
in '' $ac_executable_extensions; do
2088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_CC
="$ac_prog"
2090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2102 $as_echo "$ac_ct_CC" >&6; }
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2109 test -n "$ac_ct_CC" && break
2112 if test "x$ac_ct_CC" = x
; then
2115 case $cross_compiling:$ac_tool_warned in
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2119 ac_tool_warned
=yes ;;
2128 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2130 as_fn_error $?
"no acceptable C compiler found in \$PATH
2131 See \`config.log' for more details" "$LINENO" 5; }
2133 # Provide some information about the compiler.
2134 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2137 for ac_option
in --version -v -V -qversion; do
2138 { { ac_try
="$ac_compiler $ac_option >&5"
2140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2147 if test -s conftest.err; then
2149 ... rest of stderr output deleted ...
2150 10q' conftest.err >conftest.er1
2151 cat conftest.er1 >&5
2153 rm -f conftest.er1 conftest.err
2154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2155 test $ac_status = 0; }
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2169 ac_clean_files_save=$ac_clean_files
2170 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2171 # Try to create an executable without -o first, disregard a.out.
2172 # It will help us diagnose broken compilers, and finding out an intuition
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2175 $as_echo_n "checking whether the C compiler works... " >&6; }
2176 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2178 # The possible output files:
2179 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2182 for ac_file in $ac_files
2185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2186 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2191 if { { ac_try="$ac_link_default"
2193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2194 *) ac_try_echo
=$ac_try;;
2196 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2197 $as_echo "$ac_try_echo"; } >&5
2198 (eval "$ac_link_default") 2>&5
2200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2201 test $ac_status = 0; }; then :
2202 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2203 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2204 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2205 # so that the user can short-circuit this test for compilers unknown to
2207 for ac_file
in $ac_files ''
2209 test -f "$ac_file" ||
continue
2211 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2214 # We found the default executable, but exeext='' is most
2218 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2220 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2222 # We set ac_cv_exeext here because the later test for it is not
2223 # safe: cross compilers may not add the suffix if given an `-o'
2224 # argument, so we may need to know it at that point already.
2225 # Even if this section looks crufty: it has the advantage of
2232 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2237 if test -z "$ac_file"; then :
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2239 $as_echo "no" >&6; }
2240 $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.
$ac_ext >&5
2243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2245 as_fn_error
77 "C compiler cannot create executables
2246 See \`config.log' for more details" "$LINENO" 5; }
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2249 $as_echo "yes" >&6; }
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2252 $as_echo_n "checking for C compiler default output file name... " >&6; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2254 $as_echo "$ac_file" >&6; }
2255 ac_exeext
=$ac_cv_exeext
2257 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2258 ac_clean_files
=$ac_clean_files_save
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2260 $as_echo_n "checking for suffix of executables... " >&6; }
2261 if { { ac_try
="$ac_link"
2263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2264 *) ac_try_echo=$ac_try;;
2266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2267 $as_echo "$ac_try_echo"; } >&5
2268 (eval "$ac_link") 2>&5
2270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271 test $ac_status = 0; }; then :
2272 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2273 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2274 # work properly (i.e., refer to `conftest.exe'), while it won't with
2276 for ac_file
in conftest.exe conftest conftest.
*; do
2277 test -f "$ac_file" ||
continue
2279 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2280 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2288 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2289 See \`config.log' for more details" "$LINENO" 5; }
2291 rm -f conftest conftest
$ac_cv_exeext
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2293 $as_echo "$ac_cv_exeext" >&6; }
2295 rm -f conftest.
$ac_ext
2296 EXEEXT
=$ac_cv_exeext
2298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2299 /* end confdefs.h. */
2304 FILE *f = fopen ("conftest.out", "w");
2305 return ferror (f) || fclose (f) != 0;
2311 ac_clean_files
="$ac_clean_files conftest.out"
2312 # Check that the compiler produces executables we can run. If not, either
2313 # the compiler is broken, or we cross compile.
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2315 $as_echo_n "checking whether we are cross compiling... " >&6; }
2316 if test "$cross_compiling" != yes; then
2317 { { ac_try
="$ac_link"
2319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2320 *) ac_try_echo=$ac_try;;
2322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2323 $as_echo "$ac_try_echo"; } >&5
2324 (eval "$ac_link") 2>&5
2326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2327 test $ac_status = 0; }
2328 if { ac_try='./conftest$ac_cv_exeext'
2329 { { case "(($ac_try" in
2330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2331 *) ac_try_echo
=$ac_try;;
2333 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2334 $as_echo "$ac_try_echo"; } >&5
2335 (eval "$ac_try") 2>&5
2337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2338 test $ac_status = 0; }; }; then
2341 if test "$cross_compiling" = maybe
; then
2344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2346 as_fn_error $?
"cannot run C compiled programs.
2347 If you meant to cross compile, use \`--host'.
2348 See \`config.log' for more details" "$LINENO" 5; }
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2353 $as_echo "$cross_compiling" >&6; }
2355 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2356 ac_clean_files
=$ac_clean_files_save
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2358 $as_echo_n "checking for suffix of object files... " >&6; }
2359 if ${ac_cv_objext+:} false
; then :
2360 $as_echo_n "(cached) " >&6
2362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2363 /* end confdefs.h. */
2373 rm -f conftest.o conftest.obj
2374 if { { ac_try
="$ac_compile"
2376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381 (eval "$ac_compile") 2>&5
2383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2384 test $ac_status = 0; }; then :
2385 for ac_file in conftest.o conftest.obj conftest.*; do
2386 test -f "$ac_file" || continue;
2388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2389 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2399 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2400 See \
`config.log' for more details" "$LINENO" 5; }
2402 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2405 $as_echo "$ac_cv_objext" >&6; }
2406 OBJEXT=$ac_cv_objext
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2409 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2410 if ${ac_cv_c_compiler_gnu+:} false; then :
2411 $as_echo_n "(cached) " >&6
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2427 if ac_fn_c_try_compile "$LINENO"; then :
2432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2433 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2437 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2438 if test $ac_compiler_gnu = yes; then
2443 ac_test_CFLAGS=${CFLAGS+set}
2444 ac_save_CFLAGS=$CFLAGS
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2446 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2447 if ${ac_cv_prog_cc_g+:} false; then :
2448 $as_echo_n "(cached) " >&6
2450 ac_save_c_werror_flag=$ac_c_werror_flag
2451 ac_c_werror_flag=yes
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2465 if ac_fn_c_try_compile "$LINENO"; then :
2469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2470 /* end confdefs.h. */
2480 if ac_fn_c_try_compile "$LINENO"; then :
2483 ac_c_werror_flag=$ac_save_c_werror_flag
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2496 if ac_fn_c_try_compile "$LINENO"; then :
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 ac_c_werror_flag=$ac_save_c_werror_flag
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2507 $as_echo "$ac_cv_prog_cc_g" >&6; }
2508 if test "$ac_test_CFLAGS" = set; then
2509 CFLAGS=$ac_save_CFLAGS
2510 elif test $ac_cv_prog_cc_g = yes; then
2511 if test "$GCC" = yes; then
2517 if test "$GCC" = yes; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2524 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2525 if ${ac_cv_prog_cc_c89+:} false; then :
2526 $as_echo_n "(cached) " >&6
2528 ac_cv_prog_cc_c89=no
2530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2531 /* end confdefs.h. */
2535 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2536 struct buf { int x; };
2537 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2538 static char *e (p, i)
2544 static char *f (char * (*g) (char **, int), char **p, ...)
2549 s = g (p, va_arg (v,int));
2554 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2555 function prototypes and stuff, but not '\xHH' hex character constants.
2556 These don't provoke an error unfortunately, instead are silently treated
2557 as 'x'. The following induces an error, until -std is added to get
2558 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2559 array size at least. It's necessary to write '\x00'==0 to get something
2560 that's true only with -std. */
2561 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2563 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2564 inside strings and character constants. */
2566 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2568 int test (int i, double x);
2569 struct s1 {int (*f) (int a);};
2570 struct s2 {int (*f) (double a);};
2571 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2577 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2582 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2583 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2585 CC="$ac_save_CC $ac_arg"
2586 if ac_fn_c_try_compile "$LINENO"; then :
2587 ac_cv_prog_cc_c89=$ac_arg
2589 rm -f core conftest.err conftest.$ac_objext
2590 test "x$ac_cv_prog_cc_c89" != "xno" && break
2592 rm -f conftest.$ac_ext
2597 case "x$ac_cv_prog_cc_c89" in
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2600 $as_echo "none needed" >&6; } ;;
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2603 $as_echo "unsupported" >&6; } ;;
2605 CC="$CC $ac_cv_prog_cc_c89"
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2607 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2609 if test "x$ac_cv_prog_cc_c89" != xno; then :
2614 ac_cpp='$CPP $CPPFLAGS'
2615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2621 $as_echo_n "checking target config location... " >&6; }
2623 # Check whether --with-config-dir was given.
2624 if test "${with_config_dir+set}" = set; then :
2625 withval=$with_config_dir; targetcfg_dir="$withval"
2630 if test "$targetcfg_dir" = ""; then
2631 as_fn_error $? "missing config directory!" "$LINENO" 5
2633 aros_targetcfg_dir="$targetcfg_dir"
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2636 $as_echo "$aros_targetcfg_dir" >&6; }
2638 #-----------------------------------------------------------------------------
2640 # Check if the target compiler supports some features:
2643 # -floop-interchange
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2647 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2651 /* end confdefs.h. */
2661 if ac_fn_c_try_compile "$LINENO"; then :
2666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2668 $as_echo "$aros_lto" >&6; }
2669 if test "x-$aros_lto" = "x-yes" ; then
2670 aros_cflags_lto=-flto
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2674 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2677 /* end confdefs.h. */
2687 if ac_fn_c_try_compile "$LINENO"; then :
2688 aros_loop_block="yes"
2690 aros_loop_block="no"
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2694 $as_echo "$aros_loop_block" >&6; }
2695 if test "x-$aros_loop_block" = "x-yes" ; then
2696 aros_cflags_loop_block=-floop-block
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2700 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2701 CFLAGS=-floop-interchange
2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2713 if ac_fn_c_try_compile "$LINENO"; then :
2714 aros_loop_interchange="yes"
2716 aros_loop_interchange="no"
2718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2720 $as_echo "$aros_loop_interchange" >&6; }
2721 if test "x-$aros_loop_interchange" = "x-yes" ; then
2722 aros_cflags_loop_interchange=-floop-interchange
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2726 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2727 CFLAGS=-floop-strip-mine
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2739 if ac_fn_c_try_compile "$LINENO"; then :
2740 aros_loop_strip_mine="yes"
2742 aros_loop_strip_mine="no"
2744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2746 $as_echo "$aros_loop_strip_mine" >&6; }
2747 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2748 aros_cflags_loop_strip_mine=-floop-strip-mine
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2752 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2765 if ac_fn_c_try_compile "$LINENO"; then :
2770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2772 $as_echo "$has_iquote" >&6; }
2773 if test "x-$has_iquote" = "x-yes" ; then
2774 aros_cflags_iquote=-iquote
2775 aros_cflags_iquote_end=
2777 aros_cflags_iquote=-I
2778 aros_cflags_iquote_end=-I-
2781 #-----------------------------------------------------------------------------
2783 # Check if the target compiler supports some options used for de-linting:
2784 # -Wunused-command-line-argument
2785 # -Wunknown-warning-option
2786 # -Wunused-but-set-variable
2790 # -Wstrict-prototypes
2793 # -Wmisleading-indentation
2800 # -Wmaybe-uninitialized
2801 # -Wimplicit-function-declaration
2806 # -Wformat-contains-nul
2808 # -Waggressive-loop-optimizations
2811 # -Wdiscarded-qualifiers
2814 # -Wdiscarded-array-qualifiers
2816 # -Wint-to-pointer-cast
2817 # -Wpointer-to-int-cast
2818 # -Wunused-const-variable
2821 # -Wincompatible-pointer-types
2823 # -Wlogical-not-parentheses
2827 # -Wdeprecated-declarations
2831 # -Wunused-local-typedefs
2835 # -Wvolatile-register-var
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
2838 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
2839 CFLAGS=-Wunused-command-line-argument
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2851 if ac_fn_c_try_compile "$LINENO"; then :
2852 aros_unused_command_line_argument="yes"
2854 aros_unused_command_line_argument="no"
2856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
2858 $as_echo "$aros_unused_command_line_argument" >&6; }
2859 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
2860 aros_cflags_unused_command_line_argument=-Wno-unused-command-line-argument
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
2864 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
2865 CFLAGS=-Wunknown-warning-option
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2877 if ac_fn_c_try_compile "$LINENO"; then :
2878 aros_unknown_warning_option="yes"
2880 aros_unknown_warning_option="no"
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
2884 $as_echo "$aros_unknown_warning_option" >&6; }
2885 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
2886 aros_cflags_unknown_warning_option=-Wno-unknown-warning-option
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2890 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2891 CFLAGS=-Wunused-but-set-variable
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2903 if ac_fn_c_try_compile "$LINENO"; then :
2904 aros_unused_but_set_variable="yes"
2906 aros_unused_but_set_variable="no"
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2910 $as_echo "$aros_unused_but_set_variable" >&6; }
2911 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2912 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2916 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2917 CFLAGS=-Wstrict-aliasing
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2929 if ac_fn_c_try_compile "$LINENO"; then :
2930 aros_strict_aliasing="yes"
2932 aros_strict_aliasing="no"
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2936 $as_echo "$aros_strict_aliasing" >&6; }
2937 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2938 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2942 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2943 CFLAGS=-Warray-bounds
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2955 if ac_fn_c_try_compile "$LINENO"; then :
2956 aros_array_bounds="yes"
2958 aros_array_bounds="no"
2960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2962 $as_echo "$aros_array_bounds" >&6; }
2963 if test "x-$aros_array_bounds" = "x-yes" ; then
2964 aros_cflags_array_bounds=-Wno-array-bounds
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2968 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2969 CFLAGS=-Wenum-compare
2970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2971 /* end confdefs.h. */
2981 if ac_fn_c_try_compile "$LINENO"; then :
2982 aros_enum_compare="yes"
2984 aros_enum_compare="no"
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2988 $as_echo "$aros_enum_compare" >&6; }
2989 if test "x-$aros_enum_compare" = "x-yes" ; then
2990 aros_cflags_enum_compare=-Wno-enum-compare
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2994 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2995 CFLAGS=-Wstrict-prototypes
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
3007 if ac_fn_c_try_compile "$LINENO"; then :
3008 aros_strict_prototypes="yes"
3010 aros_strict_prototypes="no"
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3014 $as_echo "$aros_strict_prototypes" >&6; }
3015 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3016 aros_cflags_strict_prototypes=-Wno-strict-prototypes
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3020 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3021 CFLAGS=-Wstrict-overflow
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3033 if ac_fn_c_try_compile "$LINENO"; then :
3034 aros_strict_overflow="yes"
3036 aros_strict_overflow="no"
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3040 $as_echo "$aros_strict_overflow" >&6; }
3041 if test "x-$aros_strict_overflow" = "x-yes" ; then
3042 aros_cflags_strict_overflow=-Wno-strict-overflow
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3046 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3047 CFLAGS=-Wformat-security
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3059 if ac_fn_c_try_compile "$LINENO"; then :
3060 aros_format_security="yes"
3062 aros_format_security="no"
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3066 $as_echo "$aros_format_security" >&6; }
3067 if test "x-$aros_format_security" = "x-yes" ; then
3068 aros_cflags_format_security=-Wno-format-security
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3072 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3073 CFLAGS=-Wmisleading-indentation
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3085 if ac_fn_c_try_compile "$LINENO"; then :
3086 aros_misleading_indentation="yes"
3088 aros_misleading_indentation="no"
3090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3092 $as_echo "$aros_misleading_indentation" >&6; }
3093 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3094 aros_cflags_misleading_indentation=-Wno-misleading-indentation
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3098 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3099 CFLAGS=-Wnonnull-compare
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3111 if ac_fn_c_try_compile "$LINENO"; then :
3112 aros_nonnull_compare="yes"
3114 aros_nonnull_compare="no"
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3118 $as_echo "$aros_nonnull_compare" >&6; }
3119 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3120 aros_cflags_nonnull_compare=-Wno-nonnull-compare
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3124 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3137 if ac_fn_c_try_compile "$LINENO"; then :
3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3144 $as_echo "$aros_unused" >&6; }
3145 if test "x-$aros_unused" = "x-yes" ; then
3146 aros_cflags_unused=-Wno-unused
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3150 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3151 CFLAGS=-Wunused-value
3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3163 if ac_fn_c_try_compile "$LINENO"; then :
3164 aros_unused_value="yes"
3166 aros_unused_value="no"
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3170 $as_echo "$aros_unused_value" >&6; }
3171 if test "x-$aros_unused_value" = "x-yes" ; then
3172 aros_cflags_unused_value=-Wno-unused-value
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3176 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3177 CFLAGS=-Wunused-variable
3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3189 if ac_fn_c_try_compile "$LINENO"; then :
3190 aros_unused_variable="yes"
3192 aros_unused_variable="no"
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3196 $as_echo "$aros_unused_variable" >&6; }
3197 if test "x-$aros_unused_variable" = "x-yes" ; then
3198 aros_cflags_unused_variable=-Wno-unused-variable
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3202 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3203 CFLAGS=-Wunused-function
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3215 if ac_fn_c_try_compile "$LINENO"; then :
3216 aros_unused_function="yes"
3218 aros_unused_function="no"
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3222 $as_echo "$aros_unused_function" >&6; }
3223 if test "x-$aros_unused_function" = "x-yes" ; then
3224 aros_cflags_unused_function=-Wno-unused-function
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3228 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3229 CFLAGS=-Wuninitialized
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3241 if ac_fn_c_try_compile "$LINENO"; then :
3242 aros_uninitialized="yes"
3244 aros_uninitialized="no"
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3248 $as_echo "$aros_uninitialized" >&6; }
3249 if test "x-$aros_uninitialized" = "x-yes" ; then
3250 aros_cflags_uninitialized=-Wno-uninitialized
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3254 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3255 CFLAGS=-Wmaybe-uninitialized
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3267 if ac_fn_c_try_compile "$LINENO"; then :
3268 aros_maybe_uninitialized="yes"
3270 aros_maybe_uninitialized="no"
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3274 $as_echo "$aros_maybe_uninitialized" >&6; }
3275 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3276 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3280 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3281 CFLAGS=-Wimplicit-function-declaration
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3293 if ac_fn_c_try_compile "$LINENO"; then :
3294 aros_implicit_function_declaration="yes"
3296 aros_implicit_function_declaration="no"
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3300 $as_echo "$aros_implicit_function_declaration" >&6; }
3301 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3302 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3306 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3319 if ac_fn_c_try_compile "$LINENO"; then :
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3326 $as_echo "$aros_format" >&6; }
3327 if test "x-$aros_format" = "x-yes" ; then
3328 aros_cflags_format=-Wno-format
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3332 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3333 CFLAGS=-Wparentheses
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 aros_parentheses="yes"
3348 aros_parentheses="no"
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3352 $as_echo "$aros_parentheses" >&6; }
3353 if test "x-$aros_parentheses" = "x-yes" ; then
3354 aros_cflags_parentheses=-Wno-parentheses
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3358 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3359 CFLAGS=-Wchar-subscripts
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3371 if ac_fn_c_try_compile "$LINENO"; then :
3372 aros_char_subscripts="yes"
3374 aros_char_subscripts="no"
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3378 $as_echo "$aros_char_subscripts" >&6; }
3379 if test "x-$aros_char_subscripts" = "x-yes" ; then
3380 aros_cflags_char_subscripts=-Wno-char-subscripts
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3384 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3385 CFLAGS=-Wendif-labels
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3397 if ac_fn_c_try_compile "$LINENO"; then :
3398 aros_endif_labels="yes"
3400 aros_endif_labels="no"
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3404 $as_echo "$aros_endif_labels" >&6; }
3405 if test "x-$aros_endif_labels" = "x-yes" ; then
3406 aros_cflags_endif_labels=-Wno-endif-labels
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3410 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3411 CFLAGS=-Wformat-contains-nul
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3423 if ac_fn_c_try_compile "$LINENO"; then :
3424 aros_format_contains_nul="yes"
3426 aros_format_contains_nul="no"
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3430 $as_echo "$aros_format_contains_nul" >&6; }
3431 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3432 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3436 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3437 CFLAGS=-Wimplicit-int
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3449 if ac_fn_c_try_compile "$LINENO"; then :
3450 aros_implicit_int="yes"
3452 aros_implicit_int="no"
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3456 $as_echo "$aros_implicit_int" >&6; }
3457 if test "x-$aros_implicit_int" = "x-yes" ; then
3458 aros_cflags_implicit_int=-Wno-implicit-int
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3462 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3463 CFLAGS=-Waggressive-loop-optimizations
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3475 if ac_fn_c_try_compile "$LINENO"; then :
3476 aros_aggressive_loop_optimizations="yes"
3478 aros_aggressive_loop_optimizations="no"
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3482 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3483 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3484 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3488 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3501 if ac_fn_c_try_compile "$LINENO"; then :
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3508 $as_echo "$aros_cpp" >&6; }
3509 if test "x-$aros_cpp" = "x-yes" ; then
3510 aros_cflags_cpp=-Wno-cpp
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3514 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3527 if ac_fn_c_try_compile "$LINENO"; then :
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3534 $as_echo "$aros_switch" >&6; }
3535 if test "x-$aros_switch" = "x-yes" ; then
3536 aros_cflags_switch=-Wno-switch
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3540 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3541 CFLAGS=-Wdiscarded-qualifiers
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3554 aros_discarded_qualifiers="yes"
3556 aros_discarded_qualifiers="no"
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3560 $as_echo "$aros_discarded_qualifiers" >&6; }
3561 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3562 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3566 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3567 CFLAGS=-Wsequence-point
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3579 if ac_fn_c_try_compile "$LINENO"; then :
3580 aros_sequence_point="yes"
3582 aros_sequence_point="no"
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3586 $as_echo "$aros_sequence_point" >&6; }
3587 if test "x-$aros_sequence_point" = "x-yes" ; then
3588 aros_cflags_sequence_point=-Wno-sequence-point
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3592 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3593 CFLAGS=-Wunknown-pragmas
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3605 if ac_fn_c_try_compile "$LINENO"; then :
3606 aros_unknown_pragmas="yes"
3608 aros_unknown_pragmas="no"
3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3612 $as_echo "$aros_unknown_pragmas" >&6; }
3613 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3614 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3618 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3619 CFLAGS=-Wdiscarded-array-qualifiers
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3631 if ac_fn_c_try_compile "$LINENO"; then :
3632 aros_discarded_array_qualifiers="yes"
3634 aros_discarded_array_qualifiers="no"
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3638 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3639 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3640 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3644 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3645 CFLAGS=-Wint-conversion
3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3657 if ac_fn_c_try_compile "$LINENO"; then :
3658 aros_int_conversion="yes"
3660 aros_int_conversion="no"
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3664 $as_echo "$aros_int_conversion" >&6; }
3665 if test "x-$aros_int_conversion" = "x-yes" ; then
3666 aros_cflags_int_conversion=-Wno-int-conversion
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3670 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3671 CFLAGS=-Wint-to-pointer-cast
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3683 if ac_fn_c_try_compile "$LINENO"; then :
3684 aros_int_to_pointer_cast="yes"
3686 aros_int_to_pointer_cast="no"
3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3690 $as_echo "$aros_int_to_pointer_cast" >&6; }
3691 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3692 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3696 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3697 CFLAGS=-Wpointer-to-int-cast
3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3709 if ac_fn_c_try_compile "$LINENO"; then :
3710 aros_pointer_to_int_cast="yes"
3712 aros_pointer_to_int_cast="no"
3714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3716 $as_echo "$aros_pointer_to_int_cast" >&6; }
3717 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3718 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3722 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3723 CFLAGS=-Wunused-const-variable
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3735 if ac_fn_c_try_compile "$LINENO"; then :
3736 aros_unused_const_variable="yes"
3738 aros_unused_const_variable="no"
3740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3742 $as_echo "$aros_unused_const_variable" >&6; }
3743 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3744 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3748 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3749 CFLAGS=-Wwrite-strings
3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3761 if ac_fn_c_try_compile "$LINENO"; then :
3762 aros_write_strings="yes"
3764 aros_write_strings="no"
3766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3768 $as_echo "$aros_write_strings" >&6; }
3769 if test "x-$aros_write_strings" = "x-yes" ; then
3770 aros_cflags_write_strings=-Wno-write-strings
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3774 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3787 if ac_fn_c_try_compile "$LINENO"; then :
3792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3794 $as_echo "$aros_comment" >&6; }
3795 if test "x-$aros_comment" = "x-yes" ; then
3796 aros_cflags_comment=-Wno-comment
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3800 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3801 CFLAGS=-Wincompatible-pointer-types
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3813 if ac_fn_c_try_compile "$LINENO"; then :
3814 aros_incompatible_pointer_types="yes"
3816 aros_incompatible_pointer_types="no"
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3820 $as_echo "$aros_incompatible_pointer_types" >&6; }
3821 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3822 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3826 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3827 CFLAGS=-Wbool-compare
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3839 if ac_fn_c_try_compile "$LINENO"; then :
3840 aros_bool_compare="yes"
3842 aros_bool_compare="no"
3844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3846 $as_echo "$aros_bool_compare" >&6; }
3847 if test "x-$aros_bool_compare" = "x-yes" ; then
3848 aros_cflags_bool_compare=-Wno-bool-compare
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3852 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3853 CFLAGS=-Wlogical-not-parentheses
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3865 if ac_fn_c_try_compile "$LINENO"; then :
3866 aros_logical_not_parentheses="yes"
3868 aros_logical_not_parentheses="no"
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3872 $as_echo "$aros_logical_not_parentheses" >&6; }
3873 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3874 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3878 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3879 CFLAGS=-Wpointer-sign
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3891 if ac_fn_c_try_compile "$LINENO"; then :
3892 aros_pointer_sign="yes"
3894 aros_pointer_sign="no"
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3898 $as_echo "$aros_pointer_sign" >&6; }
3899 if test "x-$aros_pointer_sign" = "x-yes" ; then
3900 aros_cflags_pointer_sign=-Wno-pointer-sign
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3904 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3905 CFLAGS=-Wshift-overflow
3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 /* end confdefs.h. */
3917 if ac_fn_c_try_compile "$LINENO"; then :
3918 aros_shift_overflow="yes"
3920 aros_shift_overflow="no"
3922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3924 $as_echo "$aros_shift_overflow" >&6; }
3925 if test "x-$aros_shift_overflow" = "x-yes" ; then
3926 aros_cflags_shift_overflow=-Wno-shift-overflow
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3930 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3931 CFLAGS=-Wframe-address
3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h. */
3943 if ac_fn_c_try_compile "$LINENO"; then :
3944 aros_frame_address="yes"
3946 aros_frame_address="no"
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3950 $as_echo "$aros_frame_address" >&6; }
3951 if test "x-$aros_frame_address" = "x-yes" ; then
3952 aros_cflags_frame_address=-Wno-frame-address
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3956 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3957 CFLAGS=-Wdeprecated-declarations
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3969 if ac_fn_c_try_compile "$LINENO"; then :
3970 aros_deprecated_declarations="yes"
3972 aros_deprecated_declarations="no"
3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3976 $as_echo "$aros_deprecated_declarations" >&6; }
3977 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3978 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
3982 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
3983 CFLAGS=-Wsign-compare
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3995 if ac_fn_c_try_compile "$LINENO"; then :
3996 aros_sign_compare="yes"
3998 aros_sign_compare="no"
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4002 $as_echo "$aros_sign_compare" >&6; }
4003 if test "x-$aros_sign_compare" = "x-yes" ; then
4004 aros_cflags_sign_compare=-Wno-sign-compare
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4008 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4021 if ac_fn_c_try_compile "$LINENO"; then :
4022 aros_attributes="yes"
4024 aros_attributes="no"
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4028 $as_echo "$aros_attributes" >&6; }
4029 if test "x-$aros_attributes" = "x-yes" ; then
4030 aros_cflags_attributes=-Wno-attributes
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4034 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4047 if ac_fn_c_try_compile "$LINENO"; then :
4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4054 $as_echo "$aros_overflow" >&6; }
4055 if test "x-$aros_overflow" = "x-yes" ; then
4056 aros_cflags_overflow=-Wno-overflow
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4060 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4061 CFLAGS=-Wunused-local-typedefs
4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074 aros_unused_local_typedefs="yes"
4076 aros_unused_local_typedefs="no"
4078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4080 $as_echo "$aros_unused_local_typedefs" >&6; }
4081 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4082 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4086 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4087 CFLAGS=-Wmissing-braces
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4099 if ac_fn_c_try_compile "$LINENO"; then :
4100 aros_missing_braces="yes"
4102 aros_missing_braces="no"
4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4106 $as_echo "$aros_missing_braces" >&6; }
4107 if test "x-$aros_missing_braces" = "x-yes" ; then
4108 aros_cflags_missing_braces=-Wno-missing-braces
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4112 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4113 CFLAGS=-Wconversion-null
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 aros_conversion_null="yes"
4128 aros_conversion_null="no"
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4132 $as_echo "$aros_conversion_null" >&6; }
4133 if test "x-$aros_conversion_null" = "x-yes" ; then
4134 aros_cflags_conversion_null=-Wno-conversion-null
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4138 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4151 if ac_fn_c_try_compile "$LINENO"; then :
4152 aros_narrowing="yes"
4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4158 $as_echo "$aros_narrowing" >&6; }
4159 if test "x-$aros_narrowing" = "x-yes" ; then
4160 aros_cflags_narrowing=-Wno-narrowing
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4164 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4165 CFLAGS=-Wvolatile-register-var
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 aros_volatile_register_var="yes"
4180 aros_volatile_register_var="no"
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4184 $as_echo "$aros_volatile_register_var" >&6; }
4185 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4186 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4250 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4253 cat >confcache <<\_ACEOF
4254 # This file is a shell script that caches the results of configure
4255 # tests run on this system so they can be shared between configure
4256 # scripts and configure runs, see configure's option --config-cache.
4257 # It is not useful on other systems. If it contains results you don't
4258 # want to keep, you may remove or edit it.
4260 # config.status only pays attention to the cache file if you give it
4261 # the --recheck option to rerun configure.
4263 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4269 # The following way of writing the cache mishandles newlines in values,
4270 # but we know of no workaround that is simple, portable, and efficient.
4271 # So, we kill variables containing newlines.
4272 # Ultrix sh set writes to stderr and can't be redirected directly,
4273 # and sets the high bit in the cache file unless we assign to the vars.
4275 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4276 eval ac_val
=\$
$ac_var
4280 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4284 _ | IFS | as_nl
) ;; #(
4285 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4286 *) { eval $ac_var=; unset $ac_var;} ;;
4292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4293 *${as_nl}ac_space
=\
*)
4294 # `set' does not quote correctly, so add quotes: double-quote
4295 # substitution turns \\\\ into \\, and sed turns \\ into \.
4298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4301 # `set' quotes correctly as required by POSIX, so do not add quotes.
4302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4315 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4316 if test -w "$cache_file"; then
4317 if test "x$cache_file" != "x/dev/null"; then
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4319 $as_echo "$as_me: updating cache $cache_file" >&6;}
4320 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4321 cat confcache
>"$cache_file"
4323 case $cache_file in #(
4325 mv -f confcache
"$cache_file"$$
&&
4326 mv -f "$cache_file"$$
"$cache_file" ;; #(
4328 mv -f confcache
"$cache_file" ;;
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4339 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4340 # Let make expand exec_prefix.
4341 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4343 # Transform confdefs.h into DEFS.
4344 # Protect against shell expansion while executing Makefile rules.
4345 # Protect against Makefile macro expansion.
4347 # If the first sed substitution is executed (which looks for macros that
4348 # take arguments), then branch to the quote section. Otherwise,
4349 # look for a macro that doesn't take arguments.
4359 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4361 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4365 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4378 DEFS
=`sed -n "$ac_script" confdefs.h`
4384 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4385 # 1. Remove the extension, and $U if already installed.
4386 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4387 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4388 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4389 # will be set to the directory where LIBOBJS objects are built.
4390 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4391 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4395 LTLIBOBJS
=$ac_ltlibobjs
4399 : "${CONFIG_STATUS=./config.status}"
4401 ac_clean_files_save
=$ac_clean_files
4402 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4404 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4406 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4408 # Generated by $as_me.
4409 # Run this file to recreate the current configuration.
4410 # Compiler output produced by configure, useful for debugging
4411 # configure, is in config.log if it exists.
4417 SHELL=\${CONFIG_SHELL-$SHELL}
4420 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4421 ## -------------------- ##
4422 ## M4sh Initialization. ##
4423 ## -------------------- ##
4425 # Be more Bourne compatible
4426 DUALCASE
=1; export DUALCASE
# for MKS sh
4427 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4430 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4431 # is contrary to our usage. Disable this feature.
4432 alias -g '${1+"$@"}'='"$@"'
4433 setopt NO_GLOB_SUBST
4435 case `(set -o) 2>/dev/null` in #(
4447 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4448 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4449 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4450 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4451 # Prefer a ksh shell builtin over an external printf program on Solaris,
4452 # but without wasting forks for bash or zsh.
4453 if test -z "$BASH_VERSION$ZSH_VERSION" \
4454 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4455 as_echo='print
-r --'
4456 as_echo_n='print
-rn --'
4457 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4458 as_echo='printf %s
\n'
4459 as_echo_n='printf %s
'
4461 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4462 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4463 as_echo_n='/usr
/ucb
/echo -n'
4465 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4466 as_echo_n_body='eval
4470 expr "X$arg" : "X\\(.*\\)$as_nl";
4471 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4473 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4475 export as_echo_n_body
4476 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4479 as_echo='sh
-c $as_echo_body as_echo
'
4482 # The user is always right.
4483 if test "${PATH_SEPARATOR+set}" != set; then
4485 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4486 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4493 # We need space, tab and new line, in precisely that order. Quoting is
4494 # there to prevent editors from complaining about space-tab.
4495 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4496 # splitting by setting IFS to empty value.)
4499 # Find who we are. Look in the path if we contain no directory separator.
4502 *[\\/]* ) as_myself=$0 ;;
4503 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir=.
4508 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4514 # We did not find ourselves, most probably we were run as `sh COMMAND'
4515 # in which case we are not to be found in the path.
4516 if test "x$as_myself" = x
; then
4519 if test ! -f "$as_myself"; then
4520 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4524 # Unset variables that we do not need and which cause bugs (e.g. in
4525 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4526 # suppresses any "Segmentation fault" message there. '((' could
4527 # trigger a bug in pdksh 5.2.14.
4528 for as_var
in BASH_ENV ENV MAIL MAILPATH
4529 do eval test x\
${$as_var+set} = xset \
4530 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4543 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4546 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4547 # ----------------------------------------
4548 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4549 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4550 # script with STATUS, using 1 if that was 0.
4553 as_status
=$1; test $as_status -eq 0 && as_status
=1
4555 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4556 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4558 $as_echo "$as_me: error: $2" >&2
4559 as_fn_exit
$as_status
4563 # as_fn_set_status STATUS
4564 # -----------------------
4565 # Set $? to STATUS, without forking.
4569 } # as_fn_set_status
4573 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4583 # Portably unset VAR.
4586 { eval $1=; unset $1;}
4588 as_unset
=as_fn_unset
4589 # as_fn_append VAR VALUE
4590 # ----------------------
4591 # Append the text in VALUE to the end of the definition contained in VAR. Take
4592 # advantage of any shell optimizations that allow amortized linear growth over
4593 # repeated appends, instead of the typical quadratic growth present in naive
4595 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4596 eval 'as_fn_append ()
4607 # as_fn_arith ARG...
4608 # ------------------
4609 # Perform arithmetic evaluation on the ARGs, and store the result in the
4610 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4611 # must be portable across $(()) and expr.
4612 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4613 eval 'as_fn_arith ()
4620 as_val
=`expr "$@" || test $? -eq 1`
4625 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4626 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4632 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4633 as_basename
=basename
4638 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4644 as_me
=`$as_basename -- "$0" ||
4645 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4646 X"$0" : 'X\(//\)$' \| \
4647 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4649 sed '/^.*\/\([^/][^/]*\)\/*$/{
4663 # Avoid depending upon Character Ranges.
4664 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4665 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4666 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4667 as_cr_digits
='0123456789'
4668 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4670 ECHO_C
= ECHO_N
= ECHO_T
=
4671 case `echo -n x` in #(((((
4673 case `echo 'xy\c'` in
4674 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4676 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4683 rm -f conf$$ conf$$.exe conf$$.
file
4684 if test -d conf$$.dir
; then
4685 rm -f conf$$.dir
/conf$$.
file
4688 mkdir conf$$.dir
2>/dev
/null
4690 if (echo >conf$$.
file) 2>/dev
/null
; then
4691 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4693 # ... but there are two gotchas:
4694 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4695 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4696 # In both cases, we have to default to `cp -pR'.
4697 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4699 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4707 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4708 rmdir conf$$.dir
2>/dev
/null
4713 # Create "$as_dir" as a directory, including parents if necessary.
4718 -*) as_dir
=.
/$as_dir;;
4720 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4724 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4725 *) as_qdir
=$as_dir;;
4727 as_dirs
="'$as_qdir' $as_dirs"
4728 as_dir
=`$as_dirname -- "$as_dir" ||
4729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4730 X"$as_dir" : 'X\(//\)[^/]' \| \
4731 X"$as_dir" : 'X\(//\)$' \| \
4732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4733 $as_echo X"$as_dir" |
4734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4751 test -d "$as_dir" && break
4753 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4754 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4758 if mkdir
-p .
2>/dev
/null
; then
4759 as_mkdir_p
='mkdir -p "$as_dir"'
4761 test -d .
/-p && rmdir .
/-p
4766 # as_fn_executable_p FILE
4767 # -----------------------
4768 # Test if FILE is an executable regular file.
4769 as_fn_executable_p
()
4771 test -f "$1" && test -x "$1"
4772 } # as_fn_executable_p
4774 as_executable_p
=as_fn_executable_p
4776 # Sed expression to map a string onto a valid CPP name.
4777 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4779 # Sed expression to map a string onto a valid variable name.
4780 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4784 ## ----------------------------------- ##
4785 ## Main body of $CONFIG_STATUS script. ##
4786 ## ----------------------------------- ##
4788 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4791 # Save the log message, to keep $0 and so on meaningful, and to
4792 # report actual input values of CONFIG_FILES etc. instead of their
4793 # values after options handling.
4795 This file was extended by $as_me, which was
4796 generated by GNU Autoconf 2.69. Invocation command line was
4798 CONFIG_FILES = $CONFIG_FILES
4799 CONFIG_HEADERS = $CONFIG_HEADERS
4800 CONFIG_LINKS = $CONFIG_LINKS
4801 CONFIG_COMMANDS = $CONFIG_COMMANDS
4804 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4809 case $ac_config_files in *"
4810 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4816 # Files that config.status was made for.
4817 config_files="$ac_config_files"
4821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4823 \`$as_me' instantiates files and other configuration actions
4824 from templates according to the current configuration. Unless the files
4825 and actions are specified as TAGs, all are instantiated by default.
4827 Usage: $0 [OPTION]... [TAG]...
4829 -h, --help print this help, then exit
4830 -V, --version print version number and configuration settings, then exit
4831 --config print configuration, then exit
4832 -q, --quiet, --silent
4833 do not print progress messages
4834 -d, --debug don't remove temporary files
4835 --recheck update $as_me by reconfiguring in the same conditions
4836 --file=FILE[:TEMPLATE]
4837 instantiate the configuration file FILE
4839 Configuration files:
4842 Report bugs to the package provider."
4845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4846 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4849 configured by $0, generated by GNU Autoconf 2.69,
4850 with options \\"\$ac_cs_config\\"
4852 Copyright (C) 2012 Free Software Foundation, Inc.
4853 This config.status script is free software; the Free Software Foundation
4854 gives unlimited permission to copy, distribute and modify it."
4858 test -n "\$AWK" || AWK=awk
4861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4862 # The default lists apply if the user does not specify any file.
4868 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4869 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4873 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4885 # Handling of the options.
4886 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4888 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4889 $as_echo "$ac_cs_version"; exit ;;
4890 --config |
--confi |
--conf |
--con |
--co |
--c )
4891 $as_echo "$ac_cs_config"; exit ;;
4892 --debug |
--debu |
--deb |
--de |
--d |
-d )
4894 --file |
--fil |
--fi |
--f )
4897 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4898 '') as_fn_error $?
"missing file argument" ;;
4900 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4901 ac_need_defaults
=false
;;
4902 --he |
--h |
--help |
--hel |
-h )
4903 $as_echo "$ac_cs_usage"; exit ;;
4904 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4905 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4909 -*) as_fn_error $?
"unrecognized option: \`$1'
4910 Try \`$0 --help' for more information." ;;
4912 *) as_fn_append ac_config_targets
" $1"
4913 ac_need_defaults
=false
;;
4919 ac_configure_extra_args
=
4921 if $ac_cs_silent; then
4923 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4928 if \$ac_cs_recheck; then
4929 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4931 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4932 CONFIG_SHELL='$SHELL'
4938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4942 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4943 ## Running $as_me. ##
4949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4954 # Handling of arguments.
4955 for ac_config_target
in $ac_config_targets
4957 case $ac_config_target in
4958 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4960 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4965 # If the user did not use the arguments to specify the items to instantiate,
4966 # then the envvar interface is used. Set only those that are not.
4967 # We use the long form for the default assignment because of an extremely
4968 # bizarre bug on SunOS 4.1.3.
4969 if $ac_need_defaults; then
4970 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4973 # Have a temporary directory for convenience. Make it in the build tree
4974 # simply because there is no reason against having it here, and in addition,
4975 # creating and moving files from /tmp can sometimes cause problems.
4976 # Hook for its removal unless debugging.
4977 # Note that there is a small window in which the directory will not be cleaned:
4978 # after its creation but before its name has been assigned to `$tmp'.
4982 trap 'exit_status=$?
4984 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4986 trap 'as_fn_exit 1' 1 2 13 15
4988 # Create a (secure) tmp directory for tmp files.
4991 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4995 tmp
=.
/conf$$
-$RANDOM
4996 (umask 077 && mkdir
"$tmp")
4997 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5000 # Set up the scripts for CONFIG_FILES section.
5001 # No need to generate them if there are no CONFIG_FILES.
5002 # This happens for instance with `./config.status config.h'.
5003 if test -n "$CONFIG_FILES"; then
5006 ac_cr
=`echo X | tr X '\015'`
5007 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5008 # But we know of no other shell where ac_cr would be empty at this
5009 # point, so we can use a bashism as a fallback.
5010 if test "x$ac_cr" = x
; then
5011 eval ac_cr
=\$
\'\\r
\'
5013 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5014 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5020 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5025 echo "cat >conf$$subs.awk <<_ACEOF" &&
5026 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5029 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5030 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5032 for ac_last_try in false false false false false :; do
5033 . ./conf$$subs.sh ||
5034 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5036 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5037 if test $ac_delim_n = $ac_delim_num; then
5039 elif $ac_last_try; then
5040 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5042 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5048 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5052 s/^/S["/; s
/!.
*/"]=/
5062 s/\(.\{148\}\)..*/\1/
5064 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5069 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5076 s/\(.\{148\}\)..*/\1/
5078 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5082 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5087 ' <conf$$subs.awk | sed '
5092 ' >>$CONFIG_STATUS || ac_write_fail=1
5093 rm -f conf$$subs.awk
5094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5096 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5097 for (key in S) S_is_set[key] = 1
5103 nfields = split(line, field, "@
")
5105 len = length(field[1])
5106 for (i = 2; i < nfields; i++) {
5108 keylen = length(key)
5109 if (S_is_set[key]) {
5111 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5112 len += length(value) + length(field[++i])
5123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5124 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5125 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5128 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5129 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5132 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5133 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5134 # trailing colons and then remove the whole line if VPATH becomes empty
5135 # (actually we leave an empty line to preserve line numbers).
5136 if test "x
$srcdir" = x.; then
5137 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5156 fi # test -n "$CONFIG_FILES"
5159 eval set X " :F
$CONFIG_FILES "
5164 :[FHLC]) ac_mode=$ac_tag; continue;;
5166 case $ac_mode$ac_tag in
5168 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5169 :[FH]-) ac_tag=-:-;;
5170 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5187 -) ac_f="$ac_tmp/stdin";;
5188 *) # Look for the file first in the build tree, then in the source tree
5189 # (if the path is not absolute). The absolute path cannot be DOS-style,
5190 # because $ac_f cannot contain `:'.
5194 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5196 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5198 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5199 as_fn_append ac_file_inputs " '$ac_f'"
5202 # Let's still pretend it is `configure' which instantiates (i.e., don't
5203 # use $as_me), people would be surprised to read:
5204 # /* config.h. Generated by config.status. */
5205 configure_input='Generated from '`
5206 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5208 if test x"$ac_file" != x-; then
5209 configure_input="$ac_file.
$configure_input"
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5211 $as_echo "$as_me: creating
$ac_file" >&6;}
5213 # Neutralize special characters interpreted by sed in replacement strings.
5214 case $configure_input in #(
5215 *\&* | *\|* | *\\* )
5216 ac_sed_conf_input=`$as_echo "$configure_input" |
5217 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5218 *) ac_sed_conf_input=$configure_input;;
5222 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5223 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5228 ac_dir=`$as_dirname -- "$ac_file" ||
5229 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5230 X"$ac_file" : 'X\(//\)[^/]' \| \
5231 X"$ac_file" : 'X\(//\)$' \| \
5232 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5233 $as_echo X"$ac_file" |
5234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5251 as_dir="$ac_dir"; as_fn_mkdir_p
5255 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5257 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5258 # A "..
" for each directory in $ac_dir_suffix.
5259 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5260 case $ac_top_builddir_sub in
5261 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5262 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5265 ac_abs_top_builddir=$ac_pwd
5266 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5267 # for backward compatibility:
5268 ac_top_builddir=$ac_top_build_prefix
5271 .) # We are building in place.
5273 ac_top_srcdir=$ac_top_builddir_sub
5274 ac_abs_top_srcdir=$ac_pwd ;;
5275 [\\/]* | ?:[\\/]* ) # Absolute name.
5276 ac_srcdir=$srcdir$ac_dir_suffix;
5277 ac_top_srcdir=$srcdir
5278 ac_abs_top_srcdir=$srcdir ;;
5280 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5281 ac_top_srcdir=$ac_top_build_prefix$srcdir
5282 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5284 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5296 # If the template does not know about datarootdir, expand it.
5297 # FIXME: This hack should be removed a few years after 2.60.
5298 ac_datarootdir_hack=; ac_datarootdir_seen=
5309 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5310 *datarootdir*) ac_datarootdir_seen=yes;;
5311 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5313 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5316 ac_datarootdir_hack='
5317 s&@datadir@&$datadir&g
5318 s&@docdir@&$docdir&g
5319 s&@infodir@&$infodir&g
5320 s&@localedir@&$localedir&g
5321 s&@mandir@&$mandir&g
5322 s&\\\${datarootdir}&$datarootdir&g' ;;
5326 # Neutralize VPATH when `$srcdir' = `.'.
5327 # Shell code in configure.ac might set extrasub.
5328 # FIXME: do we really want to maintain this feature?
5329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5330 ac_sed_extra="$ac_vpsub
5333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5335 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5336 s|@configure_input@|
$ac_sed_conf_input|
;t t
5337 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5338 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5339 s
&@srcdir@
&$ac_srcdir&;t t
5340 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5341 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5342 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5343 s
&@builddir@
&$ac_builddir&;t t
5344 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5345 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5346 $ac_datarootdir_hack
5348 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5349 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5351 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5352 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5353 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5354 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5356 which seems to be undefined. Please make sure it is defined" >&5
5357 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5358 which seems to be undefined. Please make sure it is defined" >&2;}
5360 rm -f "$ac_tmp/stdin"
5362 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5363 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5365 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5377 ac_clean_files=$ac_clean_files_save
5379 test $ac_write_fail = 0 ||
5380 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5383 # configure is writing to config.log, and then calls config.status.
5384 # config.status does its own redirection, appending to config.log.
5385 # Unfortunately, on DOS this fails, as config.log is still kept open
5386 # by configure, so config.status won't be able to
write to it
; its
5387 # output is simply discarded. So we exec the FD to /dev/null,
5388 # effectively closing config.log, so it can be properly (re)opened and
5389 # appended to by config.status. When coming back to configure, we
5390 # need to make the FD available again.
5391 if test "$no_create" != yes; then
5393 ac_config_status_args
=
5394 test "$silent" = yes &&
5395 ac_config_status_args
="$ac_config_status_args --quiet"
5397 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5399 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5400 # would make configure fail if this is the last instruction.
5401 $ac_cs_success || as_fn_exit
1
5403 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5405 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}