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_narrowing
588 aros_cflags_conversion_null
589 aros_cflags_missing_braces
590 aros_cflags_unused_local_typedefs
592 aros_cflags_attributes
593 aros_cflags_sign_compare
594 aros_cflags_deprecated_declarations
595 aros_cflags_frame_address
596 aros_cflags_shift_overflow
597 aros_cflags_pointer_sign
598 aros_cflags_logical_not_parentheses
599 aros_cflags_bool_compare
600 aros_cflags_incompatible_pointer_types
602 aros_cflags_write_strings
603 aros_cflags_unused_const_variable
604 aros_cflags_pointer_to_int_cast
605 aros_cflags_int_to_pointer_cast
606 aros_cflags_int_conversion
607 aros_cflags_discarded_array_qualifiers
608 aros_cflags_unknown_pragmas
609 aros_cflags_sequence_point
610 aros_cflags_discarded_qualifiers
613 aros_cflags_aggressive_loop_optimizations
614 aros_cflags_implicit_int
615 aros_cflags_format_contains_nul
616 aros_cflags_endif_labels
617 aros_cflags_char_subscripts
618 aros_cflags_parentheses
620 aros_cflags_implicit_function_declaration
621 aros_cflags_maybe_uninitialized
622 aros_cflags_uninitialized
623 aros_cflags_unused_function
624 aros_cflags_unused_variable
625 aros_cflags_unused_value
627 aros_cflags_nonnull_compare
628 aros_cflags_misleading_indentation
629 aros_cflags_format_security
630 aros_cflags_strict_overflow
631 aros_cflags_strict_prototypes
632 aros_cflags_enum_compare
633 aros_cflags_array_bounds
634 aros_cflags_strict_aliasing
635 aros_cflags_unused_but_set_variable
670 program_transform_name
683 enable_option_checking
686 ac_precious_vars
='build_alias
696 # Initialize some variables set by options.
698 ac_init_version
=false
699 ac_unrecognized_opts
=
701 # The variables have the same names as the options, with
702 # dashes changed to underlines.
710 program_transform_name
=s
,x
,x
,
718 # Installation directory options.
719 # These are left unexpanded so users can "make install exec_prefix=/foo"
720 # and all the variables that are supposed to be based on exec_prefix
721 # by default will actually change.
722 # Use braces instead of parens because sh, perl, etc. also accept them.
723 # (The list follows the same order as the GNU Coding Standards.)
724 bindir
='${exec_prefix}/bin'
725 sbindir
='${exec_prefix}/sbin'
726 libexecdir
='${exec_prefix}/libexec'
727 datarootdir
='${prefix}/share'
728 datadir
='${datarootdir}'
729 sysconfdir
='${prefix}/etc'
730 sharedstatedir
='${prefix}/com'
731 localstatedir
='${prefix}/var'
732 includedir
='${prefix}/include'
733 oldincludedir
='/usr/include'
734 docdir
='${datarootdir}/doc/${PACKAGE}'
735 infodir
='${datarootdir}/info'
740 libdir
='${exec_prefix}/lib'
741 localedir
='${datarootdir}/locale'
742 mandir
='${datarootdir}/man'
748 # If the previous option needs an argument, assign it.
749 if test -n "$ac_prev"; then
750 eval $ac_prev=\
$ac_option
756 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761 # Accept the important Cygnus configure options, so we can diagnose typos.
763 case $ac_dashdash$ac_option in
767 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
769 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
772 -build |
--build |
--buil |
--bui |
--bu)
773 ac_prev
=build_alias
;;
774 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
775 build_alias
=$ac_optarg ;;
777 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
778 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
779 ac_prev
=cache_file
;;
780 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
781 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
782 cache_file
=$ac_optarg ;;
785 cache_file
=config.cache
;;
787 -datadir |
--datadir |
--datadi |
--datad)
789 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
790 datadir
=$ac_optarg ;;
792 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
793 |
--dataroo |
--dataro |
--datar)
794 ac_prev
=datarootdir
;;
795 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
796 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
797 datarootdir
=$ac_optarg ;;
799 -disable-* |
--disable-*)
800 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
803 as_fn_error $?
"invalid feature name: $ac_useropt"
804 ac_useropt_orig
=$ac_useropt
805 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806 case $ac_user_opts in
810 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
811 ac_unrecognized_sep
=', ';;
813 eval enable_
$ac_useropt=no
;;
815 -docdir |
--docdir |
--docdi |
--doc |
--do)
817 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
820 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
822 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
825 -enable-* |
--enable-*)
826 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
827 # Reject names that are not valid shell variable names.
828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
829 as_fn_error $?
"invalid feature name: $ac_useropt"
830 ac_useropt_orig
=$ac_useropt
831 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832 case $ac_user_opts in
836 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
837 ac_unrecognized_sep
=', ';;
839 eval enable_
$ac_useropt=\
$ac_optarg ;;
841 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
842 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
843 |
--exec |
--exe |
--ex)
844 ac_prev
=exec_prefix
;;
845 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
846 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
847 |
--exec=* |
--exe=* |
--ex=*)
848 exec_prefix
=$ac_optarg ;;
850 -gas |
--gas |
--ga |
--g)
851 # Obsolete; use --with-gas.
854 -help |
--help |
--hel |
--he |
-h)
856 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
857 ac_init_help
=recursive
;;
858 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
859 ac_init_help
=short
;;
861 -host |
--host |
--hos |
--ho)
862 ac_prev
=host_alias
;;
863 -host=* |
--host=* |
--hos=* |
--ho=*)
864 host_alias
=$ac_optarg ;;
866 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
868 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
870 htmldir
=$ac_optarg ;;
872 -includedir |
--includedir |
--includedi |
--included |
--include \
873 |
--includ |
--inclu |
--incl |
--inc)
874 ac_prev
=includedir
;;
875 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
876 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
877 includedir
=$ac_optarg ;;
879 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
881 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
882 infodir
=$ac_optarg ;;
884 -libdir |
--libdir |
--libdi |
--libd)
886 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
889 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
890 |
--libexe |
--libex |
--libe)
891 ac_prev
=libexecdir
;;
892 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
893 |
--libexe=* |
--libex=* |
--libe=*)
894 libexecdir
=$ac_optarg ;;
896 -localedir |
--localedir |
--localedi |
--localed |
--locale)
898 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
899 localedir
=$ac_optarg ;;
901 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
902 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
903 ac_prev
=localstatedir
;;
904 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
905 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
906 localstatedir
=$ac_optarg ;;
908 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
910 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
914 # Obsolete; use --without-fp.
917 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
918 |
--no-cr |
--no-c |
-n)
921 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
922 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
925 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
926 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
927 |
--oldin |
--oldi |
--old |
--ol |
--o)
928 ac_prev
=oldincludedir
;;
929 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
930 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
931 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
932 oldincludedir
=$ac_optarg ;;
934 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
936 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
939 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
940 |
--program-pre |
--program-pr |
--program-p)
941 ac_prev
=program_prefix
;;
942 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
943 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
944 program_prefix
=$ac_optarg ;;
946 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
947 |
--program-suf |
--program-su |
--program-s)
948 ac_prev
=program_suffix
;;
949 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
950 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
951 program_suffix
=$ac_optarg ;;
953 -program-transform-name |
--program-transform-name \
954 |
--program-transform-nam |
--program-transform-na \
955 |
--program-transform-n |
--program-transform- \
956 |
--program-transform |
--program-transfor \
957 |
--program-transfo |
--program-transf \
958 |
--program-trans |
--program-tran \
959 |
--progr-tra |
--program-tr |
--program-t)
960 ac_prev
=program_transform_name
;;
961 -program-transform-name=* |
--program-transform-name=* \
962 |
--program-transform-nam=* |
--program-transform-na=* \
963 |
--program-transform-n=* |
--program-transform-=* \
964 |
--program-transform=* |
--program-transfor=* \
965 |
--program-transfo=* |
--program-transf=* \
966 |
--program-trans=* |
--program-tran=* \
967 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
968 program_transform_name
=$ac_optarg ;;
970 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
972 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
975 -psdir |
--psdir |
--psdi |
--psd |
--ps)
977 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
980 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
981 |
-silent |
--silent |
--silen |
--sile |
--sil)
984 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
986 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
988 sbindir
=$ac_optarg ;;
990 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
991 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
992 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
994 ac_prev
=sharedstatedir
;;
995 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
996 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
997 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
999 sharedstatedir
=$ac_optarg ;;
1001 -site |
--site |
--sit)
1003 -site=* |
--site=* |
--sit=*)
1006 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1008 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1009 srcdir
=$ac_optarg ;;
1011 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1012 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1013 ac_prev
=sysconfdir
;;
1014 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1015 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1016 sysconfdir
=$ac_optarg ;;
1018 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1019 ac_prev
=target_alias
;;
1020 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1021 target_alias
=$ac_optarg ;;
1023 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1026 -version |
--version |
--versio |
--versi |
--vers |
-V)
1027 ac_init_version
=: ;;
1030 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1033 as_fn_error $?
"invalid package name: $ac_useropt"
1034 ac_useropt_orig
=$ac_useropt
1035 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in
1040 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1041 ac_unrecognized_sep
=', ';;
1043 eval with_
$ac_useropt=\
$ac_optarg ;;
1045 -without-* |
--without-*)
1046 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1049 as_fn_error $?
"invalid package name: $ac_useropt"
1050 ac_useropt_orig
=$ac_useropt
1051 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1056 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1057 ac_unrecognized_sep
=', ';;
1059 eval with_
$ac_useropt=no
;;
1062 # Obsolete; use --with-x.
1065 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1066 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1067 ac_prev
=x_includes
;;
1068 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1069 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1070 x_includes
=$ac_optarg ;;
1072 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1073 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1074 ac_prev
=x_libraries
;;
1075 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1076 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1077 x_libraries
=$ac_optarg ;;
1079 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1080 Try \`$0 --help' for more information"
1084 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names.
1086 case $ac_envvar in #(
1087 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1088 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1090 eval $ac_envvar=\
$ac_optarg
1091 export $ac_envvar ;;
1094 # FIXME: should be removed in autoconf 3.0.
1095 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1096 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1097 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1098 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1104 if test -n "$ac_prev"; then
1105 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1106 as_fn_error $?
"missing argument to $ac_option"
1109 if test -n "$ac_unrecognized_opts"; then
1110 case $enable_option_checking in
1112 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1113 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1117 # Check all directory arguments for consistency.
1118 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119 datadir sysconfdir sharedstatedir localstatedir includedir \
1120 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121 libdir localedir mandir
1123 eval ac_val
=\$
$ac_var
1124 # Remove trailing slashes.
1127 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1128 eval $ac_var=\
$ac_val;;
1130 # Be sure to have absolute directory names.
1132 [\\/$
]* | ?
:[\\/]* ) continue;;
1133 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1135 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1138 # There might be people who depend on the old broken behavior: `$host'
1139 # used to hold the argument of --host etc.
1140 # FIXME: To remove some day.
1143 target
=$target_alias
1145 # FIXME: To remove some day.
1146 if test "x$host_alias" != x
; then
1147 if test "x$build_alias" = x
; then
1148 cross_compiling
=maybe
1149 elif test "x$build_alias" != "x$host_alias"; then
1155 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1157 test "$silent" = yes && exec 6>/dev
/null
1160 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1161 ac_ls_di
=`ls -di .` &&
1162 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1163 as_fn_error $?
"working directory cannot be determined"
1164 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1165 as_fn_error $?
"pwd does not report name of working directory"
1168 # Find the source files, if location was not specified.
1169 if test -z "$srcdir"; then
1170 ac_srcdir_defaulted
=yes
1171 # Try the directory containing this script, then the parent directory.
1172 ac_confdir
=`$as_dirname -- "$as_myself" ||
1173 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1174 X"$as_myself" : 'X\(//\)[^/]' \| \
1175 X"$as_myself" : 'X\(//\)$' \| \
1176 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1177 $as_echo X"$as_myself" |
1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1200 ac_srcdir_defaulted
=no
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1203 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1204 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1206 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1208 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1210 # When building in place, set srcdir=.
1211 if test "$ac_abs_confdir" = "$ac_pwd"; then
1214 # Remove unnecessary trailing slashes from srcdir.
1215 # Double slashes in file names in object file debugging info
1216 # mess up M-x gdb in Emacs.
1218 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220 for ac_var
in $ac_precious_vars; do
1221 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1222 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1223 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1224 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1228 # Report the --help message.
1230 if test "$ac_init_help" = "long"; then
1231 # Omit some internal or obsolete options to make the list less imposing.
1232 # This message is too long to be a string in the A/UX 3.1 sh.
1234 \`configure' configures this package to adapt to many kinds of systems.
1236 Usage: $0 [OPTION]... [VAR=VALUE]...
1238 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1239 VAR=VALUE. See below for descriptions of some of the useful variables.
1241 Defaults for the options are specified in brackets.
1244 -h, --help display this help and exit
1245 --help=short display options specific to this package
1246 --help=recursive display the short help of all the included packages
1247 -V, --version display version information and exit
1248 -q, --quiet, --silent do not print \`checking ...' messages
1249 --cache-file=FILE cache test results in FILE [disabled]
1250 -C, --config-cache alias for \`--cache-file=config.cache'
1251 -n, --no-create do not create output files
1252 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1254 Installation directories:
1255 --prefix=PREFIX install architecture-independent files in PREFIX
1256 [$ac_default_prefix]
1257 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1260 By default, \`make install' will install all the files in
1261 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1262 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1263 for instance \`--prefix=\$HOME'.
1265 For better control, use the options below.
1267 Fine tuning of the installation directories:
1268 --bindir=DIR user executables [EPREFIX/bin]
1269 --sbindir=DIR system admin executables [EPREFIX/sbin]
1270 --libexecdir=DIR program executables [EPREFIX/libexec]
1271 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1272 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1273 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1274 --libdir=DIR object code libraries [EPREFIX/lib]
1275 --includedir=DIR C header files [PREFIX/include]
1276 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1277 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1278 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1279 --infodir=DIR info documentation [DATAROOTDIR/info]
1280 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1281 --mandir=DIR man documentation [DATAROOTDIR/man]
1282 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1283 --htmldir=DIR html documentation [DOCDIR]
1284 --dvidir=DIR dvi documentation [DOCDIR]
1285 --pdfdir=DIR pdf documentation [DOCDIR]
1286 --psdir=DIR ps documentation [DOCDIR]
1293 if test -n "$ac_init_help"; then
1298 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1299 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1300 --with-config-dir=VERSION
1301 Location of generated target config files
1303 Some influential environment variables
:
1304 CC C compiler
command
1305 CFLAGS C compiler flags
1306 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1307 nonstandard directory
<lib dir
>
1308 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1309 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1310 you have headers
in a nonstandard directory
<include dir
>
1312 Use these variables to override the choices made by
`configure' or to help
1313 it to find libraries and programs with nonstandard names/locations.
1315 Report bugs to the package provider.
1320 if test "$ac_init_help" = "recursive"; then
1321 # If there are subdirs, report their specific --help.
1322 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1323 test -d "$ac_dir" ||
1324 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1329 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1332 # A ".." for each directory in $ac_dir_suffix.
1333 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1334 case $ac_top_builddir_sub in
1335 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1339 ac_abs_top_builddir=$ac_pwd
1340 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1341 # for backward compatibility:
1342 ac_top_builddir=$ac_top_build_prefix
1345 .) # We are building in place.
1347 ac_top_srcdir=$ac_top_builddir_sub
1348 ac_abs_top_srcdir=$ac_pwd ;;
1349 [\\/]* | ?:[\\/]* ) # Absolute name.
1350 ac_srcdir=$srcdir$ac_dir_suffix;
1351 ac_top_srcdir=$srcdir
1352 ac_abs_top_srcdir=$srcdir ;;
1354 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1355 ac_top_srcdir=$ac_top_build_prefix$srcdir
1356 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1358 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1360 cd "$ac_dir" || { ac_status=$?; continue; }
1361 # Check for guested configure.
1362 if test -f "$ac_srcdir/configure.gnu"; then
1364 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1365 elif test -f "$ac_srcdir/configure"; then
1367 $SHELL "$ac_srcdir/configure" --help=recursive
1369 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371 cd "$ac_pwd" || { ac_status=$?; break; }
1375 test -n "$ac_init_help" && exit $ac_status
1376 if $ac_init_version; then
1379 generated by GNU Autoconf 2.69
1381 Copyright (C) 2012 Free Software Foundation, Inc.
1382 This configure script is free software; the Free Software Foundation
1383 gives unlimited permission to copy, distribute and modify it.
1388 ## ------------------------ ##
1389 ## Autoconf initialization. ##
1390 ## ------------------------ ##
1392 # ac_fn_c_try_compile LINENO
1393 # --------------------------
1394 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1395 ac_fn_c_try_compile ()
1397 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1398 rm -f conftest.$ac_objext
1399 if { { ac_try="$ac_compile"
1401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1402 *) ac_try_echo
=$ac_try;;
1404 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1405 $as_echo "$ac_try_echo"; } >&5
1406 (eval "$ac_compile") 2>conftest.err
1408 if test -s conftest.err
; then
1409 grep -v '^ *+' conftest.err
>conftest.er1
1410 cat conftest.er1
>&5
1411 mv -f conftest.er1 conftest.err
1413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1414 test $ac_status = 0; } && {
1415 test -z "$ac_c_werror_flag" ||
1416 test ! -s conftest.err
1417 } && test -s conftest.
$ac_objext; then :
1420 $as_echo "$as_me: failed program was:" >&5
1421 sed 's/^/| /' conftest.
$ac_ext >&5
1425 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1426 as_fn_set_status
$ac_retval
1428 } # ac_fn_c_try_compile
1429 cat >config.log
<<_ACEOF
1430 This file contains any messages produced by compilers while
1431 running configure, to aid debugging if configure makes a mistake.
1433 It was created by $as_me, which was
1434 generated by GNU Autoconf 2.69. Invocation command line was
1446 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1447 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1448 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1449 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1450 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1452 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1453 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1455 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1456 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1457 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1458 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1459 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1460 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1461 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir
=.
1470 $as_echo "PATH: $as_dir"
1486 # Keep a trace of the command line.
1487 # Strip out --no-create and --no-recursion so they do not pile up.
1488 # Strip out --silent because we don't want to record it for future runs.
1489 # Also quote any args containing shell meta-characters.
1490 # Make two passes to allow for proper duplicate-argument suppression.
1494 ac_must_keep_next
=false
1500 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1502 |
-silent |
--silent |
--silen |
--sile |
--sil)
1505 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1508 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1510 as_fn_append ac_configure_args1
" '$ac_arg'"
1511 if test $ac_must_keep_next = true
; then
1512 ac_must_keep_next
=false
# Got value, back to normal.
1515 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1516 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1517 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1518 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1519 case "$ac_configure_args0 " in
1520 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1523 -* ) ac_must_keep_next
=true
;;
1526 as_fn_append ac_configure_args
" '$ac_arg'"
1531 { ac_configure_args0
=; unset ac_configure_args0
;}
1532 { ac_configure_args1
=; unset ac_configure_args1
;}
1534 # When interrupted or exit'd, cleanup temporary files, and complete
1535 # config.log. We remove comments because anyway the quotes in there
1536 # would cause problems or look ugly.
1537 # WARNING: Use '\'' to represent an apostrophe within the trap.
1538 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1539 trap 'exit_status=$?
1540 # Save into config.log some information that might help in debugging.
1544 $as_echo "## ---------------- ##
1545 ## Cache variables. ##
1546 ## ---------------- ##"
1548 # The following way of writing the cache mishandles newlines in values,
1550 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1551 eval ac_val=\$$ac_var
1555 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1556 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1559 _ | IFS | as_nl) ;; #(
1560 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1561 *) { eval $ac_var=; unset $ac_var;} ;;
1566 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1567 *${as_nl}ac_space=\ *)
1569 "s/'\''/'\''\\\\'\'''\''/g;
1570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1580 $as_echo "## ----------------- ##
1581 ## Output variables. ##
1582 ## ----------------- ##"
1584 for ac_var in $ac_subst_vars
1586 eval ac_val=\$$ac_var
1588 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590 $as_echo "$ac_var='\''$ac_val'\''"
1594 if test -n "$ac_subst_files"; then
1595 $as_echo "## ------------------- ##
1596 ## File substitutions. ##
1597 ## ------------------- ##"
1599 for ac_var
in $ac_subst_files
1601 eval ac_val
=\$
$ac_var
1603 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1605 $as_echo "$ac_var='\''$ac_val'\''"
1610 if test -s confdefs.h; then
1611 $as_echo "## ----------- ##
1618 test "$ac_signal" != 0 &&
1619 $as_echo "$as_me: caught signal $ac_signal"
1620 $as_echo "$as_me: exit $exit_status"
1622 rm -f core *.core core.conftest.* &&
1623 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1626 for ac_signal
in 1 2 13 15; do
1627 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1631 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1632 rm -f -r conftest
* confdefs.h
1634 $as_echo "/* confdefs.h */" > confdefs.h
1636 # Predefined preprocessor variables.
1638 cat >>confdefs.h
<<_ACEOF
1639 #define PACKAGE_NAME "$PACKAGE_NAME"
1642 cat >>confdefs.h
<<_ACEOF
1643 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1646 cat >>confdefs.h
<<_ACEOF
1647 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1650 cat >>confdefs.h
<<_ACEOF
1651 #define PACKAGE_STRING "$PACKAGE_STRING"
1654 cat >>confdefs.h
<<_ACEOF
1655 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1658 cat >>confdefs.h
<<_ACEOF
1659 #define PACKAGE_URL "$PACKAGE_URL"
1663 # Let the site file select an alternate cache file if it wants to.
1664 # Prefer an explicitly selected file to automatically selected ones.
1667 if test -n "$CONFIG_SITE"; then
1668 # We do not want a PATH search for config.site.
1669 case $CONFIG_SITE in #((
1670 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1671 */*) ac_site_file1
=$CONFIG_SITE;;
1672 *) ac_site_file1
=.
/$CONFIG_SITE;;
1674 elif test "x$prefix" != xNONE
; then
1675 ac_site_file1
=$prefix/share
/config.site
1676 ac_site_file2
=$prefix/etc
/config.site
1678 ac_site_file1
=$ac_default_prefix/share
/config.site
1679 ac_site_file2
=$ac_default_prefix/etc
/config.site
1681 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1683 test "x$ac_site_file" = xNONE
&& continue
1684 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1686 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1687 sed 's/^/| /' "$ac_site_file" >&5
1689 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1691 as_fn_error $?
"failed to load site script $ac_site_file
1692 See \`config.log' for more details" "$LINENO" 5; }
1696 if test -r "$cache_file"; then
1697 # Some versions of bash will fail to source /dev/null (special files
1698 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1699 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1701 $as_echo "$as_me: loading cache $cache_file" >&6;}
1703 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1704 *) .
"./$cache_file";;
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1709 $as_echo "$as_me: creating cache $cache_file" >&6;}
1713 # Check that the precious variables saved in the cache have kept the same
1715 ac_cache_corrupted
=false
1716 for ac_var
in $ac_precious_vars; do
1717 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1718 eval ac_new_set
=\
$ac_env_${ac_var}_set
1719 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1720 eval ac_new_val
=\
$ac_env_${ac_var}_value
1721 case $ac_old_set,$ac_new_set in
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1724 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1725 ac_cache_corrupted
=: ;;
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1728 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1729 ac_cache_corrupted
=: ;;
1732 if test "x$ac_old_val" != "x$ac_new_val"; then
1733 # differences in whitespace do not lead to failure.
1734 ac_old_val_w
=`echo x $ac_old_val`
1735 ac_new_val_w
=`echo x $ac_new_val`
1736 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1738 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1739 ac_cache_corrupted
=:
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1742 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1743 eval $ac_var=\
$ac_old_val
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1746 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1748 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1751 # Pass precious variables to config.status.
1752 if test "$ac_new_set" = set; then
1754 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1755 *) ac_arg
=$ac_var=$ac_new_val ;;
1757 case " $ac_configure_args " in
1758 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1759 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1763 if $ac_cache_corrupted; then
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1767 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1768 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1770 ## -------------------- ##
1771 ## Main body of script. ##
1772 ## -------------------- ##
1775 ac_cpp
='$CPP $CPPFLAGS'
1776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1783 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
1784 if test -f "$ac_dir/install-sh"; then
1786 ac_install_sh
="$ac_aux_dir/install-sh -c"
1788 elif test -f "$ac_dir/install.sh"; then
1790 ac_install_sh
="$ac_aux_dir/install.sh -c"
1792 elif test -f "$ac_dir/shtool"; then
1794 ac_install_sh
="$ac_aux_dir/shtool install -c"
1798 if test -z "$ac_aux_dir"; then
1799 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1802 # These three variables are undocumented and unsupported,
1803 # and are intended to be withdrawn in a future Autoconf release.
1804 # They can cause serious problems if a builder's source tree is in a directory
1805 # whose full name contains unusual characters.
1806 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1807 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1808 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1812 # Don't know where else to put this...
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
1814 $as_echo_n "checking building AROS in... " >&6; }
1815 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1816 AROS_BUILDDIR_UNIX
=${PWD}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
1818 $as_echo "$AROS_BUILDDIR" >&6; }
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
1821 $as_echo_n "checking AROS source in... " >&6; }
1822 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
1825 $as_echo "$SRCDIR" >&6; }
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 options used for delinting:
2641 # -Wunused-but-set-variable
2645 # -Wstrict-prototypes
2648 # -Wmisleading-indentation
2655 # -Wmaybe-uninitialized
2656 # -Wimplicit-function-declaration
2661 # -Wformat-contains-nul
2663 # -Waggressive-loop-optimizations
2666 # -Wdiscarded-qualifiers
2669 # -Wdiscarded-array-qualifiers
2671 # -Wint-to-pointer-cast
2672 # -Wpointer-to-int-cast
2673 # -Wunused-const-variable
2676 # -Wincompatible-pointer-types
2678 # -Wlogical-not-parentheses
2682 # -Wdeprecated-declarations
2686 # -Wunused-local-typedefs
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2692 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2693 CFLAGS=-Wunused-but-set-variable
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2706 if ac_fn_c_try_compile "$LINENO"; then :
2707 aros_unused_but_set_variable="yes"
2709 aros_unused_but_set_variable="no"
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2713 $as_echo "$aros_unused_but_set_variable" >&6; }
2714 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2715 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2719 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2720 CFLAGS=-Wstrict-aliasing
2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2732 if ac_fn_c_try_compile "$LINENO"; then :
2733 aros_strict_aliasing="yes"
2735 aros_strict_aliasing="no"
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2739 $as_echo "$aros_strict_aliasing" >&6; }
2740 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2741 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2745 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2746 CFLAGS=-Warray-bounds
2747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748 /* end confdefs.h. */
2758 if ac_fn_c_try_compile "$LINENO"; then :
2759 aros_array_bounds="yes"
2761 aros_array_bounds="no"
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2765 $as_echo "$aros_array_bounds" >&6; }
2766 if test "x-$aros_array_bounds" = "x-yes" ; then
2767 aros_cflags_array_bounds=-Wno-array-bounds
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2771 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2772 CFLAGS=-Wenum-compare
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2784 if ac_fn_c_try_compile "$LINENO"; then :
2785 aros_enum_compare="yes"
2787 aros_enum_compare="no"
2789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2791 $as_echo "$aros_enum_compare" >&6; }
2792 if test "x-$aros_enum_compare" = "x-yes" ; then
2793 aros_cflags_enum_compare=-Wno-enum-compare
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2797 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2798 CFLAGS=-Wstrict-prototypes
2799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800 /* end confdefs.h. */
2810 if ac_fn_c_try_compile "$LINENO"; then :
2811 aros_strict_prototypes="yes"
2813 aros_strict_prototypes="no"
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
2817 $as_echo "$aros_strict_prototypes" >&6; }
2818 if test "x-$aros_strict_prototypes" = "x-yes" ; then
2819 aros_cflags_strict_prototypes=-Wno-strict-prototypes
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
2823 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
2824 CFLAGS=-Wstrict-overflow
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2836 if ac_fn_c_try_compile "$LINENO"; then :
2837 aros_strict_overflow="yes"
2839 aros_strict_overflow="no"
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
2843 $as_echo "$aros_strict_overflow" >&6; }
2844 if test "x-$aros_strict_overflow" = "x-yes" ; then
2845 aros_cflags_strict_overflow=-Wno-strict-overflow
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
2849 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
2850 CFLAGS=-Wformat-security
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2862 if ac_fn_c_try_compile "$LINENO"; then :
2863 aros_format_security="yes"
2865 aros_format_security="no"
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
2869 $as_echo "$aros_format_security" >&6; }
2870 if test "x-$aros_format_security" = "x-yes" ; then
2871 aros_cflags_format_security=-Wno-format-security
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
2875 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
2876 CFLAGS=-Wmisleading-indentation
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 aros_misleading_indentation="yes"
2891 aros_misleading_indentation="no"
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
2895 $as_echo "$aros_misleading_indentation" >&6; }
2896 if test "x-$aros_misleading_indentation" = "x-yes" ; then
2897 aros_cflags_misleading_indentation=-Wno-misleading-indentation
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
2901 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
2902 CFLAGS=-Wnonnull-compare
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2914 if ac_fn_c_try_compile "$LINENO"; then :
2915 aros_nonnull_compare="yes"
2917 aros_nonnull_compare="no"
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
2921 $as_echo "$aros_nonnull_compare" >&6; }
2922 if test "x-$aros_nonnull_compare" = "x-yes" ; then
2923 aros_cflags_nonnull_compare=-Wno-nonnull-compare
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
2927 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2940 if ac_fn_c_try_compile "$LINENO"; then :
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
2947 $as_echo "$aros_unused" >&6; }
2948 if test "x-$aros_unused" = "x-yes" ; then
2949 aros_cflags_unused=-Wno-unused
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
2953 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
2954 CFLAGS=-Wunused-value
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2966 if ac_fn_c_try_compile "$LINENO"; then :
2967 aros_unused_value="yes"
2969 aros_unused_value="no"
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
2973 $as_echo "$aros_unused_value" >&6; }
2974 if test "x-$aros_unused_value" = "x-yes" ; then
2975 aros_cflags_unused_value=-Wno-unused-value
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
2979 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
2980 CFLAGS=-Wunused-variable
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2992 if ac_fn_c_try_compile "$LINENO"; then :
2993 aros_unused_variable="yes"
2995 aros_unused_variable="no"
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
2999 $as_echo "$aros_unused_variable" >&6; }
3000 if test "x-$aros_unused_variable" = "x-yes" ; then
3001 aros_cflags_unused_variable=-Wno-unused-variable
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3005 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3006 CFLAGS=-Wunused-function
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3018 if ac_fn_c_try_compile "$LINENO"; then :
3019 aros_unused_function="yes"
3021 aros_unused_function="no"
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3025 $as_echo "$aros_unused_function" >&6; }
3026 if test "x-$aros_unused_function" = "x-yes" ; then
3027 aros_cflags_unused_function=-Wno-unused-function
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3031 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3032 CFLAGS=-Wuninitialized
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3044 if ac_fn_c_try_compile "$LINENO"; then :
3045 aros_uninitialized="yes"
3047 aros_uninitialized="no"
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3051 $as_echo "$aros_uninitialized" >&6; }
3052 if test "x-$aros_uninitialized" = "x-yes" ; then
3053 aros_cflags_uninitialized=-Wno-uninitialized
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3057 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3058 CFLAGS=-Wmaybe-uninitialized
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3070 if ac_fn_c_try_compile "$LINENO"; then :
3071 aros_maybe_uninitialized="yes"
3073 aros_maybe_uninitialized="no"
3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3077 $as_echo "$aros_maybe_uninitialized" >&6; }
3078 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3079 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3083 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3084 CFLAGS=-Wimplicit-function-declaration
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3096 if ac_fn_c_try_compile "$LINENO"; then :
3097 aros_implicit_function_declaration="yes"
3099 aros_implicit_function_declaration="no"
3101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3103 $as_echo "$aros_implicit_function_declaration" >&6; }
3104 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3105 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3109 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3122 if ac_fn_c_try_compile "$LINENO"; then :
3127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3129 $as_echo "$aros_format" >&6; }
3130 if test "x-$aros_format" = "x-yes" ; then
3131 aros_cflags_format=-Wno-format
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3135 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3136 CFLAGS=-Wparentheses
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3148 if ac_fn_c_try_compile "$LINENO"; then :
3149 aros_parentheses="yes"
3151 aros_parentheses="no"
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3155 $as_echo "$aros_parentheses" >&6; }
3156 if test "x-$aros_parentheses" = "x-yes" ; then
3157 aros_cflags_parentheses=-Wno-parentheses
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3161 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3162 CFLAGS=-Wchar-subscripts
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3174 if ac_fn_c_try_compile "$LINENO"; then :
3175 aros_char_subscripts="yes"
3177 aros_char_subscripts="no"
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3181 $as_echo "$aros_char_subscripts" >&6; }
3182 if test "x-$aros_char_subscripts" = "x-yes" ; then
3183 aros_cflags_char_subscripts=-Wno-char-subscripts
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3187 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3188 CFLAGS=-Wendif-labels
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3200 if ac_fn_c_try_compile "$LINENO"; then :
3201 aros_endif_labels="yes"
3203 aros_endif_labels="no"
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3207 $as_echo "$aros_endif_labels" >&6; }
3208 if test "x-$aros_endif_labels" = "x-yes" ; then
3209 aros_cflags_endif_labels=-Wno-endif-labels
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3213 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3214 CFLAGS=-Wformat-contains-nul
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 if ac_fn_c_try_compile "$LINENO"; then :
3227 aros_format_contains_nul="yes"
3229 aros_format_contains_nul="no"
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3233 $as_echo "$aros_format_contains_nul" >&6; }
3234 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3235 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3239 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3240 CFLAGS=-Wimplicit-int
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3252 if ac_fn_c_try_compile "$LINENO"; then :
3253 aros_implicit_int="yes"
3255 aros_implicit_int="no"
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3259 $as_echo "$aros_implicit_int" >&6; }
3260 if test "x-$aros_implicit_int" = "x-yes" ; then
3261 aros_cflags_implicit_int=-Wno-implicit-int
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3265 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3266 CFLAGS=-Waggressive-loop-optimizations
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3278 if ac_fn_c_try_compile "$LINENO"; then :
3279 aros_aggressive_loop_optimizations="yes"
3281 aros_aggressive_loop_optimizations="no"
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3285 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3286 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3287 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3291 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3304 if ac_fn_c_try_compile "$LINENO"; then :
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3311 $as_echo "$aros_cpp" >&6; }
3312 if test "x-$aros_cpp" = "x-yes" ; then
3313 aros_cflags_cpp=-Wno-cpp
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3317 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3330 if ac_fn_c_try_compile "$LINENO"; then :
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3337 $as_echo "$aros_switch" >&6; }
3338 if test "x-$aros_switch" = "x-yes" ; then
3339 aros_cflags_switch=-Wno-switch
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3343 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3344 CFLAGS=-Wdiscarded-qualifiers
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3356 if ac_fn_c_try_compile "$LINENO"; then :
3357 aros_discarded_qualifiers="yes"
3359 aros_discarded_qualifiers="no"
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3363 $as_echo "$aros_discarded_qualifiers" >&6; }
3364 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3365 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3369 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3370 CFLAGS=-Wsequence-point
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3382 if ac_fn_c_try_compile "$LINENO"; then :
3383 aros_sequence_point="yes"
3385 aros_sequence_point="no"
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3389 $as_echo "$aros_sequence_point" >&6; }
3390 if test "x-$aros_sequence_point" = "x-yes" ; then
3391 aros_cflags_sequence_point=-Wno-sequence-point
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3395 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3396 CFLAGS=-Wunknown-pragmas
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3408 if ac_fn_c_try_compile "$LINENO"; then :
3409 aros_unknown_pragmas="yes"
3411 aros_unknown_pragmas="no"
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3415 $as_echo "$aros_unknown_pragmas" >&6; }
3416 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3417 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3421 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3422 CFLAGS=-Wdiscarded-array-qualifiers
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3434 if ac_fn_c_try_compile "$LINENO"; then :
3435 aros_discarded_array_qualifiers="yes"
3437 aros_discarded_array_qualifiers="no"
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3441 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3442 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3443 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3447 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3448 CFLAGS=-Wint-conversion
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 aros_int_conversion="yes"
3463 aros_int_conversion="no"
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3467 $as_echo "$aros_int_conversion" >&6; }
3468 if test "x-$aros_int_conversion" = "x-yes" ; then
3469 aros_cflags_int_conversion=-Wno-int-conversion
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3473 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3474 CFLAGS=-Wint-to-pointer-cast
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3486 if ac_fn_c_try_compile "$LINENO"; then :
3487 aros_int_to_pointer_cast="yes"
3489 aros_int_to_pointer_cast="no"
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3493 $as_echo "$aros_int_to_pointer_cast" >&6; }
3494 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3495 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3499 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3500 CFLAGS=-Wpointer-to-int-cast
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3512 if ac_fn_c_try_compile "$LINENO"; then :
3513 aros_pointer_to_int_cast="yes"
3515 aros_pointer_to_int_cast="no"
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3519 $as_echo "$aros_pointer_to_int_cast" >&6; }
3520 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3521 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3525 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3526 CFLAGS=-Wunused-const-variable
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3538 if ac_fn_c_try_compile "$LINENO"; then :
3539 aros_unused_const_variable="yes"
3541 aros_unused_const_variable="no"
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3545 $as_echo "$aros_unused_const_variable" >&6; }
3546 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3547 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3551 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3552 CFLAGS=-Wwrite-strings
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 if ac_fn_c_try_compile "$LINENO"; then :
3565 aros_write_strings="yes"
3567 aros_write_strings="no"
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3571 $as_echo "$aros_write_strings" >&6; }
3572 if test "x-$aros_write_strings" = "x-yes" ; then
3573 aros_cflags_write_strings=-Wno-write-strings
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3577 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3590 if ac_fn_c_try_compile "$LINENO"; then :
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3597 $as_echo "$aros_comment" >&6; }
3598 if test "x-$aros_comment" = "x-yes" ; then
3599 aros_cflags_comment=-Wno-comment
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3603 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3604 CFLAGS=-Wincompatible-pointer-types
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3616 if ac_fn_c_try_compile "$LINENO"; then :
3617 aros_incompatible_pointer_types="yes"
3619 aros_incompatible_pointer_types="no"
3621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3623 $as_echo "$aros_incompatible_pointer_types" >&6; }
3624 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3625 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3629 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3630 CFLAGS=-Wbool-compare
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3642 if ac_fn_c_try_compile "$LINENO"; then :
3643 aros_bool_compare="yes"
3645 aros_bool_compare="no"
3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3649 $as_echo "$aros_bool_compare" >&6; }
3650 if test "x-$aros_bool_compare" = "x-yes" ; then
3651 aros_cflags_bool_compare=-Wno-bool-compare
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3655 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3656 CFLAGS=-Wlogical-not-parentheses
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3668 if ac_fn_c_try_compile "$LINENO"; then :
3669 aros_logical_not_parentheses="yes"
3671 aros_logical_not_parentheses="no"
3673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3675 $as_echo "$aros_logical_not_parentheses" >&6; }
3676 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3677 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3681 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3682 CFLAGS=-Wpointer-sign
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3694 if ac_fn_c_try_compile "$LINENO"; then :
3695 aros_pointer_sign="yes"
3697 aros_pointer_sign="no"
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3701 $as_echo "$aros_pointer_sign" >&6; }
3702 if test "x-$aros_pointer_sign" = "x-yes" ; then
3703 aros_cflags_pointer_sign=-Wno-pointer-sign
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3707 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3708 CFLAGS=-Wshift-overflow
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 aros_shift_overflow="yes"
3723 aros_shift_overflow="no"
3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3727 $as_echo "$aros_shift_overflow" >&6; }
3728 if test "x-$aros_shift_overflow" = "x-yes" ; then
3729 aros_cflags_shift_overflow=-Wno-shift-overflow
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3733 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3734 CFLAGS=-Wframe-address
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3746 if ac_fn_c_try_compile "$LINENO"; then :
3747 aros_frame_address="yes"
3749 aros_frame_address="no"
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3753 $as_echo "$aros_frame_address" >&6; }
3754 if test "x-$aros_frame_address" = "x-yes" ; then
3755 aros_cflags_frame_address=-Wno-frame-address
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3759 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3760 CFLAGS=-Wdeprecated-declarations
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 if ac_fn_c_try_compile "$LINENO"; then :
3773 aros_deprecated_declarations="yes"
3775 aros_deprecated_declarations="no"
3777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3779 $as_echo "$aros_deprecated_declarations" >&6; }
3780 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3781 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
3785 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
3786 CFLAGS=-Wsign-compare
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3798 if ac_fn_c_try_compile "$LINENO"; then :
3799 aros_sign_compare="yes"
3801 aros_sign_compare="no"
3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
3805 $as_echo "$aros_sign_compare" >&6; }
3806 if test "x-$aros_sign_compare" = "x-yes" ; then
3807 aros_cflags_sign_compare=-Wno-sign-compare
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
3811 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
3813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h. */
3824 if ac_fn_c_try_compile "$LINENO"; then :
3825 aros_attributes="yes"
3827 aros_attributes="no"
3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
3831 $as_echo "$aros_attributes" >&6; }
3832 if test "x-$aros_attributes" = "x-yes" ; then
3833 aros_cflags_attributes=-Wno-attributes
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
3837 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3850 if ac_fn_c_try_compile "$LINENO"; then :
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
3857 $as_echo "$aros_overflow" >&6; }
3858 if test "x-$aros_overflow" = "x-yes" ; then
3859 aros_cflags_overflow=-Wno-overflow
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
3863 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
3864 CFLAGS=-Wunused-local-typedefs
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3876 if ac_fn_c_try_compile "$LINENO"; then :
3877 aros_unused_local_typedefs="yes"
3879 aros_unused_local_typedefs="no"
3881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
3883 $as_echo "$aros_unused_local_typedefs" >&6; }
3884 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
3885 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
3889 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
3890 CFLAGS=-Wmissing-braces
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3902 if ac_fn_c_try_compile "$LINENO"; then :
3903 aros_missing_braces="yes"
3905 aros_missing_braces="no"
3907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
3909 $as_echo "$aros_missing_braces" >&6; }
3910 if test "x-$aros_missing_braces" = "x-yes" ; then
3911 aros_cflags_missing_braces=-Wno-missing-braces
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
3915 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
3916 CFLAGS=-Wconversion-null
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3928 if ac_fn_c_try_compile "$LINENO"; then :
3929 aros_conversion_null="yes"
3931 aros_conversion_null="no"
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
3935 $as_echo "$aros_conversion_null" >&6; }
3936 if test "x-$aros_conversion_null" = "x-yes" ; then
3937 aros_cflags_conversion_null=-Wno-conversion-null
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
3941 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h. */
3954 if ac_fn_c_try_compile "$LINENO"; then :
3955 aros_narrowing="yes"
3959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
3961 $as_echo "$aros_narrowing" >&6; }
3962 if test "x-$aros_narrowing" = "x-yes" ; then
3963 aros_cflags_narrowing=-Wno-narrowing
4016 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4019 cat >confcache <<\_ACEOF
4020 # This file is a shell script that caches the results of configure
4021 # tests run on this system so they can be shared between configure
4022 # scripts and configure runs, see configure's option --config-cache.
4023 # It is not useful on other systems. If it contains results you don't
4024 # want to keep, you may remove or edit it.
4026 # config.status only pays attention to the cache file if you give it
4027 # the --recheck option to rerun configure.
4029 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4030 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4035 # The following way of writing the cache mishandles newlines in values,
4036 # but we know of no workaround that is simple, portable, and efficient.
4037 # So, we kill variables containing newlines.
4038 # Ultrix sh set writes to stderr and can't be redirected directly,
4039 # and sets the high bit in the cache file unless we assign to the vars.
4041 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4042 eval ac_val
=\$
$ac_var
4046 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4050 _ | IFS | as_nl
) ;; #(
4051 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4052 *) { eval $ac_var=; unset $ac_var;} ;;
4058 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4059 *${as_nl}ac_space
=\
*)
4060 # `set' does not quote correctly, so add quotes: double-quote
4061 # substitution turns \\\\ into \\, and sed turns \\ into \.
4064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4067 # `set' quotes correctly as required by POSIX, so do not add quotes.
4068 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4079 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4081 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4082 if test -w "$cache_file"; then
4083 if test "x$cache_file" != "x/dev/null"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4085 $as_echo "$as_me: updating cache $cache_file" >&6;}
4086 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4087 cat confcache
>"$cache_file"
4089 case $cache_file in #(
4091 mv -f confcache
"$cache_file"$$
&&
4092 mv -f "$cache_file"$$
"$cache_file" ;; #(
4094 mv -f confcache
"$cache_file" ;;
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4100 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4105 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4106 # Let make expand exec_prefix.
4107 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4109 # Transform confdefs.h into DEFS.
4110 # Protect against shell expansion while executing Makefile rules.
4111 # Protect against Makefile macro expansion.
4113 # If the first sed substitution is executed (which looks for macros that
4114 # take arguments), then branch to the quote section. Otherwise,
4115 # look for a macro that doesn't take arguments.
4125 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4127 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4131 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4144 DEFS
=`sed -n "$ac_script" confdefs.h`
4150 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4151 # 1. Remove the extension, and $U if already installed.
4152 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4153 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4154 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4155 # will be set to the directory where LIBOBJS objects are built.
4156 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4157 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4161 LTLIBOBJS
=$ac_ltlibobjs
4165 : "${CONFIG_STATUS=./config.status}"
4167 ac_clean_files_save
=$ac_clean_files
4168 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4170 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4172 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4174 # Generated by $as_me.
4175 # Run this file to recreate the current configuration.
4176 # Compiler output produced by configure, useful for debugging
4177 # configure, is in config.log if it exists.
4183 SHELL=\${CONFIG_SHELL-$SHELL}
4186 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4187 ## -------------------- ##
4188 ## M4sh Initialization. ##
4189 ## -------------------- ##
4191 # Be more Bourne compatible
4192 DUALCASE
=1; export DUALCASE
# for MKS sh
4193 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4196 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4197 # is contrary to our usage. Disable this feature.
4198 alias -g '${1+"$@"}'='"$@"'
4199 setopt NO_GLOB_SUBST
4201 case `(set -o) 2>/dev/null` in #(
4213 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4214 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4215 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4216 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4217 # Prefer a ksh shell builtin over an external printf program on Solaris,
4218 # but without wasting forks for bash or zsh.
4219 if test -z "$BASH_VERSION$ZSH_VERSION" \
4220 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4221 as_echo='print
-r --'
4222 as_echo_n='print
-rn --'
4223 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4224 as_echo='printf %s
\n'
4225 as_echo_n='printf %s
'
4227 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4228 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4229 as_echo_n='/usr
/ucb
/echo -n'
4231 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4232 as_echo_n_body='eval
4236 expr "X$arg" : "X\\(.*\\)$as_nl";
4237 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4239 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4241 export as_echo_n_body
4242 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4245 as_echo='sh
-c $as_echo_body as_echo
'
4248 # The user is always right.
4249 if test "${PATH_SEPARATOR+set}" != set; then
4251 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4252 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4259 # We need space, tab and new line, in precisely that order. Quoting is
4260 # there to prevent editors from complaining about space-tab.
4261 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4262 # splitting by setting IFS to empty value.)
4265 # Find who we are. Look in the path if we contain no directory separator.
4268 *[\\/]* ) as_myself=$0 ;;
4269 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir=.
4274 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4280 # We did not find ourselves, most probably we were run as `sh COMMAND'
4281 # in which case we are not to be found in the path.
4282 if test "x$as_myself" = x
; then
4285 if test ! -f "$as_myself"; then
4286 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4290 # Unset variables that we do not need and which cause bugs (e.g. in
4291 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4292 # suppresses any "Segmentation fault" message there. '((' could
4293 # trigger a bug in pdksh 5.2.14.
4294 for as_var
in BASH_ENV ENV MAIL MAILPATH
4295 do eval test x\
${$as_var+set} = xset \
4296 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4309 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4312 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4313 # ----------------------------------------
4314 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4315 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4316 # script with STATUS, using 1 if that was 0.
4319 as_status
=$1; test $as_status -eq 0 && as_status
=1
4321 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4322 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4324 $as_echo "$as_me: error: $2" >&2
4325 as_fn_exit
$as_status
4329 # as_fn_set_status STATUS
4330 # -----------------------
4331 # Set $? to STATUS, without forking.
4335 } # as_fn_set_status
4339 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4349 # Portably unset VAR.
4352 { eval $1=; unset $1;}
4354 as_unset
=as_fn_unset
4355 # as_fn_append VAR VALUE
4356 # ----------------------
4357 # Append the text in VALUE to the end of the definition contained in VAR. Take
4358 # advantage of any shell optimizations that allow amortized linear growth over
4359 # repeated appends, instead of the typical quadratic growth present in naive
4361 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4362 eval 'as_fn_append ()
4373 # as_fn_arith ARG...
4374 # ------------------
4375 # Perform arithmetic evaluation on the ARGs, and store the result in the
4376 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4377 # must be portable across $(()) and expr.
4378 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4379 eval 'as_fn_arith ()
4386 as_val
=`expr "$@" || test $? -eq 1`
4391 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4392 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4398 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4399 as_basename
=basename
4404 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4410 as_me
=`$as_basename -- "$0" ||
4411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4412 X"$0" : 'X\(//\)$' \| \
4413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4415 sed '/^.*\/\([^/][^/]*\)\/*$/{
4429 # Avoid depending upon Character Ranges.
4430 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4431 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4432 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4433 as_cr_digits
='0123456789'
4434 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4436 ECHO_C
= ECHO_N
= ECHO_T
=
4437 case `echo -n x` in #(((((
4439 case `echo 'xy\c'` in
4440 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4442 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4449 rm -f conf$$ conf$$.exe conf$$.
file
4450 if test -d conf$$.dir
; then
4451 rm -f conf$$.dir
/conf$$.
file
4454 mkdir conf$$.dir
2>/dev
/null
4456 if (echo >conf$$.
file) 2>/dev
/null
; then
4457 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4459 # ... but there are two gotchas:
4460 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4461 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4462 # In both cases, we have to default to `cp -pR'.
4463 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4465 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4473 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4474 rmdir conf$$.dir
2>/dev
/null
4479 # Create "$as_dir" as a directory, including parents if necessary.
4484 -*) as_dir
=.
/$as_dir;;
4486 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4490 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4491 *) as_qdir
=$as_dir;;
4493 as_dirs
="'$as_qdir' $as_dirs"
4494 as_dir
=`$as_dirname -- "$as_dir" ||
4495 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4496 X"$as_dir" : 'X\(//\)[^/]' \| \
4497 X"$as_dir" : 'X\(//\)$' \| \
4498 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4499 $as_echo X"$as_dir" |
4500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4517 test -d "$as_dir" && break
4519 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4520 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4524 if mkdir
-p .
2>/dev
/null
; then
4525 as_mkdir_p
='mkdir -p "$as_dir"'
4527 test -d .
/-p && rmdir .
/-p
4532 # as_fn_executable_p FILE
4533 # -----------------------
4534 # Test if FILE is an executable regular file.
4535 as_fn_executable_p
()
4537 test -f "$1" && test -x "$1"
4538 } # as_fn_executable_p
4540 as_executable_p
=as_fn_executable_p
4542 # Sed expression to map a string onto a valid CPP name.
4543 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4545 # Sed expression to map a string onto a valid variable name.
4546 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4550 ## ----------------------------------- ##
4551 ## Main body of $CONFIG_STATUS script. ##
4552 ## ----------------------------------- ##
4554 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4557 # Save the log message, to keep $0 and so on meaningful, and to
4558 # report actual input values of CONFIG_FILES etc. instead of their
4559 # values after options handling.
4561 This file was extended by $as_me, which was
4562 generated by GNU Autoconf 2.69. Invocation command line was
4564 CONFIG_FILES = $CONFIG_FILES
4565 CONFIG_HEADERS = $CONFIG_HEADERS
4566 CONFIG_LINKS = $CONFIG_LINKS
4567 CONFIG_COMMANDS = $CONFIG_COMMANDS
4570 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4575 case $ac_config_files in *"
4576 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4582 # Files that config.status was made for.
4583 config_files="$ac_config_files"
4587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4589 \`$as_me' instantiates files and other configuration actions
4590 from templates according to the current configuration. Unless the files
4591 and actions are specified as TAGs, all are instantiated by default.
4593 Usage: $0 [OPTION]... [TAG]...
4595 -h, --help print this help, then exit
4596 -V, --version print version number and configuration settings, then exit
4597 --config print configuration, then exit
4598 -q, --quiet, --silent
4599 do not print progress messages
4600 -d, --debug don't remove temporary files
4601 --recheck update $as_me by reconfiguring in the same conditions
4602 --file=FILE[:TEMPLATE]
4603 instantiate the configuration file FILE
4605 Configuration files:
4608 Report bugs to the package provider."
4611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4612 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4615 configured by $0, generated by GNU Autoconf 2.69,
4616 with options \\"\$ac_cs_config\\"
4618 Copyright (C) 2012 Free Software Foundation, Inc.
4619 This config.status script is free software; the Free Software Foundation
4620 gives unlimited permission to copy, distribute and modify it."
4624 test -n "\$AWK" || AWK=awk
4627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4628 # The default lists apply if the user does not specify any file.
4634 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4635 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4639 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4651 # Handling of the options.
4652 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4654 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4655 $as_echo "$ac_cs_version"; exit ;;
4656 --config |
--confi |
--conf |
--con |
--co |
--c )
4657 $as_echo "$ac_cs_config"; exit ;;
4658 --debug |
--debu |
--deb |
--de |
--d |
-d )
4660 --file |
--fil |
--fi |
--f )
4663 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4664 '') as_fn_error $?
"missing file argument" ;;
4666 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4667 ac_need_defaults
=false
;;
4668 --he |
--h |
--help |
--hel |
-h )
4669 $as_echo "$ac_cs_usage"; exit ;;
4670 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4671 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4675 -*) as_fn_error $?
"unrecognized option: \`$1'
4676 Try \`$0 --help' for more information." ;;
4678 *) as_fn_append ac_config_targets
" $1"
4679 ac_need_defaults
=false
;;
4685 ac_configure_extra_args
=
4687 if $ac_cs_silent; then
4689 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4694 if \$ac_cs_recheck; then
4695 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4697 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4698 CONFIG_SHELL='$SHELL'
4704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4708 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4709 ## Running $as_me. ##
4715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4720 # Handling of arguments.
4721 for ac_config_target
in $ac_config_targets
4723 case $ac_config_target in
4724 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4726 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4731 # If the user did not use the arguments to specify the items to instantiate,
4732 # then the envvar interface is used. Set only those that are not.
4733 # We use the long form for the default assignment because of an extremely
4734 # bizarre bug on SunOS 4.1.3.
4735 if $ac_need_defaults; then
4736 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4739 # Have a temporary directory for convenience. Make it in the build tree
4740 # simply because there is no reason against having it here, and in addition,
4741 # creating and moving files from /tmp can sometimes cause problems.
4742 # Hook for its removal unless debugging.
4743 # Note that there is a small window in which the directory will not be cleaned:
4744 # after its creation but before its name has been assigned to `$tmp'.
4748 trap 'exit_status=$?
4750 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4752 trap 'as_fn_exit 1' 1 2 13 15
4754 # Create a (secure) tmp directory for tmp files.
4757 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4761 tmp
=.
/conf$$
-$RANDOM
4762 (umask 077 && mkdir
"$tmp")
4763 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4766 # Set up the scripts for CONFIG_FILES section.
4767 # No need to generate them if there are no CONFIG_FILES.
4768 # This happens for instance with `./config.status config.h'.
4769 if test -n "$CONFIG_FILES"; then
4772 ac_cr
=`echo X | tr X '\015'`
4773 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4774 # But we know of no other shell where ac_cr would be empty at this
4775 # point, so we can use a bashism as a fallback.
4776 if test "x$ac_cr" = x
; then
4777 eval ac_cr
=\$
\'\\r
\'
4779 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4780 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4786 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4791 echo "cat >conf$$subs.awk <<_ACEOF" &&
4792 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4795 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4796 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4798 for ac_last_try in false false false false false :; do
4799 . ./conf$$subs.sh ||
4800 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4802 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4803 if test $ac_delim_n = $ac_delim_num; then
4805 elif $ac_last_try; then
4806 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4808 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4814 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4818 s/^/S["/; s
/!.
*/"]=/
4828 s/\(.\{148\}\)..*/\1/
4830 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4835 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4842 s/\(.\{148\}\)..*/\1/
4844 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4848 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4853 ' <conf$$subs.awk | sed '
4858 ' >>$CONFIG_STATUS || ac_write_fail=1
4859 rm -f conf$$subs.awk
4860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4862 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4863 for (key in S) S_is_set[key] = 1
4869 nfields = split(line, field, "@
")
4871 len = length(field[1])
4872 for (i = 2; i < nfields; i++) {
4874 keylen = length(key)
4875 if (S_is_set[key]) {
4877 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4878 len += length(value) + length(field[++i])
4889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4890 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4891 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4894 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4895 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4898 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4899 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4900 # trailing colons and then remove the whole line if VPATH becomes empty
4901 # (actually we leave an empty line to preserve line numbers).
4902 if test "x
$srcdir" = x.; then
4903 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4922 fi # test -n "$CONFIG_FILES"
4925 eval set X " :F
$CONFIG_FILES "
4930 :[FHLC]) ac_mode=$ac_tag; continue;;
4932 case $ac_mode$ac_tag in
4934 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4935 :[FH]-) ac_tag=-:-;;
4936 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4953 -) ac_f="$ac_tmp/stdin";;
4954 *) # Look for the file first in the build tree, then in the source tree
4955 # (if the path is not absolute). The absolute path cannot be DOS-style,
4956 # because $ac_f cannot contain `:'.
4960 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4962 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4964 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4965 as_fn_append ac_file_inputs " '$ac_f'"
4968 # Let's still pretend it is `configure' which instantiates (i.e., don't
4969 # use $as_me), people would be surprised to read:
4970 # /* config.h. Generated by config.status. */
4971 configure_input='Generated from '`
4972 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4974 if test x"$ac_file" != x-; then
4975 configure_input="$ac_file.
$configure_input"
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4977 $as_echo "$as_me: creating
$ac_file" >&6;}
4979 # Neutralize special characters interpreted by sed in replacement strings.
4980 case $configure_input in #(
4981 *\&* | *\|* | *\\* )
4982 ac_sed_conf_input=`$as_echo "$configure_input" |
4983 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4984 *) ac_sed_conf_input=$configure_input;;
4988 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4989 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4994 ac_dir=`$as_dirname -- "$ac_file" ||
4995 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4996 X"$ac_file" : 'X\(//\)[^/]' \| \
4997 X"$ac_file" : 'X\(//\)$' \| \
4998 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4999 $as_echo X"$ac_file" |
5000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5017 as_dir="$ac_dir"; as_fn_mkdir_p
5021 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5023 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5024 # A "..
" for each directory in $ac_dir_suffix.
5025 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5026 case $ac_top_builddir_sub in
5027 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5028 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5031 ac_abs_top_builddir=$ac_pwd
5032 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5033 # for backward compatibility:
5034 ac_top_builddir=$ac_top_build_prefix
5037 .) # We are building in place.
5039 ac_top_srcdir=$ac_top_builddir_sub
5040 ac_abs_top_srcdir=$ac_pwd ;;
5041 [\\/]* | ?:[\\/]* ) # Absolute name.
5042 ac_srcdir=$srcdir$ac_dir_suffix;
5043 ac_top_srcdir=$srcdir
5044 ac_abs_top_srcdir=$srcdir ;;
5046 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5047 ac_top_srcdir=$ac_top_build_prefix$srcdir
5048 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5050 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5062 # If the template does not know about datarootdir, expand it.
5063 # FIXME: This hack should be removed a few years after 2.60.
5064 ac_datarootdir_hack=; ac_datarootdir_seen=
5075 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5076 *datarootdir*) ac_datarootdir_seen=yes;;
5077 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5079 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5082 ac_datarootdir_hack='
5083 s&@datadir@&$datadir&g
5084 s&@docdir@&$docdir&g
5085 s&@infodir@&$infodir&g
5086 s&@localedir@&$localedir&g
5087 s&@mandir@&$mandir&g
5088 s&\\\${datarootdir}&$datarootdir&g' ;;
5092 # Neutralize VPATH when `$srcdir' = `.'.
5093 # Shell code in configure.ac might set extrasub.
5094 # FIXME: do we really want to maintain this feature?
5095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5096 ac_sed_extra="$ac_vpsub
5099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5101 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5102 s|@configure_input@|
$ac_sed_conf_input|
;t t
5103 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5104 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5105 s
&@srcdir@
&$ac_srcdir&;t t
5106 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5107 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5108 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5109 s
&@builddir@
&$ac_builddir&;t t
5110 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5111 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5112 $ac_datarootdir_hack
5114 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5115 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5117 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5118 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5119 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5120 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5122 which seems to be undefined. Please make sure it is defined" >&5
5123 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5124 which seems to be undefined. Please make sure it is defined" >&2;}
5126 rm -f "$ac_tmp/stdin"
5128 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5129 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5143 ac_clean_files=$ac_clean_files_save
5145 test $ac_write_fail = 0 ||
5146 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5149 # configure is writing to config.log, and then calls config.status.
5150 # config.status does its own redirection, appending to config.log.
5151 # Unfortunately, on DOS this fails, as config.log is still kept open
5152 # by configure, so config.status won't be able to
write to it
; its
5153 # output is simply discarded. So we exec the FD to /dev/null,
5154 # effectively closing config.log, so it can be properly (re)opened and
5155 # appended to by config.status. When coming back to configure, we
5156 # need to make the FD available again.
5157 if test "$no_create" != yes; then
5159 ac_config_status_args
=
5160 test "$silent" = yes &&
5161 ac_config_status_args
="$ac_config_status_args --quiet"
5163 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5165 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5166 # would make configure fail if this is the last instruction.
5167 $ac_cs_success || as_fn_exit
1
5169 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5171 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}