2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev
/null
; then :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
216 for as_base
in sh bash ksh sh5
; do
217 # Try only shells that exist, to save several forks.
218 as_shell
=$as_dir/$as_base
219 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
221 CONFIG_SHELL
=$as_shell as_have_required
=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$SHELL as_have_required
=yes
237 if test "x$CONFIG_SHELL" != x
; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x
$as_have_required = xno
; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x
${ZSH_VERSION+set} = xset
; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE
= GREP_OPTIONS
=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs
="'$as_qdir' $as_dirs"
328 as_dir
=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p
()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
397 as_val
=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
411 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit
$as_status
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits
='0123456789'
461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
464 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
465 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x
"$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec
=no
; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
540 as_mkdir_p
='mkdir -p "$as_dir"'
542 test -d .
/-p && rmdir .
/-p
547 as_executable_p
=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="mmakefile"
585 ac_subst_vars
='LTLIBOBJS
587 aros_cflags_volatile_register_var
588 aros_cflags_narrowing
589 aros_cflags_conversion_null
590 aros_cflags_missing_braces
591 aros_cflags_unused_local_typedefs
593 aros_cflags_attributes
594 aros_cflags_sign_compare
595 aros_cflags_deprecated_declarations
596 aros_cflags_frame_address
597 aros_cflags_shift_overflow
598 aros_cflags_pointer_sign
599 aros_cflags_logical_not_parentheses
600 aros_cflags_bool_compare
601 aros_cflags_incompatible_pointer_types
603 aros_cflags_write_strings
604 aros_cflags_unused_const_variable
605 aros_cflags_pointer_to_int_cast
606 aros_cflags_int_to_pointer_cast
607 aros_cflags_int_conversion
608 aros_cflags_discarded_array_qualifiers
609 aros_cflags_unknown_pragmas
610 aros_cflags_sequence_point
611 aros_cflags_discarded_qualifiers
614 aros_cflags_aggressive_loop_optimizations
615 aros_cflags_implicit_int
616 aros_cflags_format_contains_nul
617 aros_cflags_endif_labels
618 aros_cflags_char_subscripts
619 aros_cflags_parentheses
621 aros_cflags_implicit_function_declaration
622 aros_cflags_maybe_uninitialized
623 aros_cflags_uninitialized
624 aros_cflags_unused_function
625 aros_cflags_unused_variable
626 aros_cflags_unused_value
628 aros_cflags_nonnull_compare
629 aros_cflags_misleading_indentation
630 aros_cflags_format_security
631 aros_cflags_strict_overflow
632 aros_cflags_strict_prototypes
633 aros_cflags_enum_compare
634 aros_cflags_array_bounds
635 aros_cflags_strict_aliasing
636 aros_cflags_unused_but_set_variable
671 program_transform_name
684 enable_option_checking
687 ac_precious_vars
='build_alias
697 # Initialize some variables set by options.
699 ac_init_version
=false
700 ac_unrecognized_opts
=
702 # The variables have the same names as the options, with
703 # dashes changed to underlines.
711 program_transform_name
=s
,x
,x
,
719 # Installation directory options.
720 # These are left unexpanded so users can "make install exec_prefix=/foo"
721 # and all the variables that are supposed to be based on exec_prefix
722 # by default will actually change.
723 # Use braces instead of parens because sh, perl, etc. also accept them.
724 # (The list follows the same order as the GNU Coding Standards.)
725 bindir
='${exec_prefix}/bin'
726 sbindir
='${exec_prefix}/sbin'
727 libexecdir
='${exec_prefix}/libexec'
728 datarootdir
='${prefix}/share'
729 datadir
='${datarootdir}'
730 sysconfdir
='${prefix}/etc'
731 sharedstatedir
='${prefix}/com'
732 localstatedir
='${prefix}/var'
733 includedir
='${prefix}/include'
734 oldincludedir
='/usr/include'
735 docdir
='${datarootdir}/doc/${PACKAGE}'
736 infodir
='${datarootdir}/info'
741 libdir
='${exec_prefix}/lib'
742 localedir
='${datarootdir}/locale'
743 mandir
='${datarootdir}/man'
749 # If the previous option needs an argument, assign it.
750 if test -n "$ac_prev"; then
751 eval $ac_prev=\
$ac_option
757 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762 # Accept the important Cygnus configure options, so we can diagnose typos.
764 case $ac_dashdash$ac_option in
768 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
770 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
773 -build |
--build |
--buil |
--bui |
--bu)
774 ac_prev
=build_alias
;;
775 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
776 build_alias
=$ac_optarg ;;
778 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
779 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
780 ac_prev
=cache_file
;;
781 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
782 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
783 cache_file
=$ac_optarg ;;
786 cache_file
=config.cache
;;
788 -datadir |
--datadir |
--datadi |
--datad)
790 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
791 datadir
=$ac_optarg ;;
793 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
794 |
--dataroo |
--dataro |
--datar)
795 ac_prev
=datarootdir
;;
796 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
797 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
798 datarootdir
=$ac_optarg ;;
800 -disable-* |
--disable-*)
801 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
802 # Reject names that are not valid shell variable names.
803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
804 as_fn_error $?
"invalid feature name: $ac_useropt"
805 ac_useropt_orig
=$ac_useropt
806 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807 case $ac_user_opts in
811 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
812 ac_unrecognized_sep
=', ';;
814 eval enable_
$ac_useropt=no
;;
816 -docdir |
--docdir |
--docdi |
--doc |
--do)
818 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
821 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
823 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
826 -enable-* |
--enable-*)
827 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
830 as_fn_error $?
"invalid feature name: $ac_useropt"
831 ac_useropt_orig
=$ac_useropt
832 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833 case $ac_user_opts in
837 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
838 ac_unrecognized_sep
=', ';;
840 eval enable_
$ac_useropt=\
$ac_optarg ;;
842 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
843 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
844 |
--exec |
--exe |
--ex)
845 ac_prev
=exec_prefix
;;
846 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
847 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
848 |
--exec=* |
--exe=* |
--ex=*)
849 exec_prefix
=$ac_optarg ;;
851 -gas |
--gas |
--ga |
--g)
852 # Obsolete; use --with-gas.
855 -help |
--help |
--hel |
--he |
-h)
857 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
858 ac_init_help
=recursive
;;
859 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
860 ac_init_help
=short
;;
862 -host |
--host |
--hos |
--ho)
863 ac_prev
=host_alias
;;
864 -host=* |
--host=* |
--hos=* |
--ho=*)
865 host_alias
=$ac_optarg ;;
867 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
869 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
871 htmldir
=$ac_optarg ;;
873 -includedir |
--includedir |
--includedi |
--included |
--include \
874 |
--includ |
--inclu |
--incl |
--inc)
875 ac_prev
=includedir
;;
876 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
877 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
878 includedir
=$ac_optarg ;;
880 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
882 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
883 infodir
=$ac_optarg ;;
885 -libdir |
--libdir |
--libdi |
--libd)
887 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
890 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
891 |
--libexe |
--libex |
--libe)
892 ac_prev
=libexecdir
;;
893 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
894 |
--libexe=* |
--libex=* |
--libe=*)
895 libexecdir
=$ac_optarg ;;
897 -localedir |
--localedir |
--localedi |
--localed |
--locale)
899 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
900 localedir
=$ac_optarg ;;
902 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
903 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
904 ac_prev
=localstatedir
;;
905 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
906 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
907 localstatedir
=$ac_optarg ;;
909 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
911 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
915 # Obsolete; use --without-fp.
918 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
919 |
--no-cr |
--no-c |
-n)
922 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
923 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
926 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
927 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
928 |
--oldin |
--oldi |
--old |
--ol |
--o)
929 ac_prev
=oldincludedir
;;
930 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
931 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
932 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
933 oldincludedir
=$ac_optarg ;;
935 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
937 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
940 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
941 |
--program-pre |
--program-pr |
--program-p)
942 ac_prev
=program_prefix
;;
943 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
944 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
945 program_prefix
=$ac_optarg ;;
947 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
948 |
--program-suf |
--program-su |
--program-s)
949 ac_prev
=program_suffix
;;
950 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
951 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
952 program_suffix
=$ac_optarg ;;
954 -program-transform-name |
--program-transform-name \
955 |
--program-transform-nam |
--program-transform-na \
956 |
--program-transform-n |
--program-transform- \
957 |
--program-transform |
--program-transfor \
958 |
--program-transfo |
--program-transf \
959 |
--program-trans |
--program-tran \
960 |
--progr-tra |
--program-tr |
--program-t)
961 ac_prev
=program_transform_name
;;
962 -program-transform-name=* |
--program-transform-name=* \
963 |
--program-transform-nam=* |
--program-transform-na=* \
964 |
--program-transform-n=* |
--program-transform-=* \
965 |
--program-transform=* |
--program-transfor=* \
966 |
--program-transfo=* |
--program-transf=* \
967 |
--program-trans=* |
--program-tran=* \
968 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
969 program_transform_name
=$ac_optarg ;;
971 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
973 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
976 -psdir |
--psdir |
--psdi |
--psd |
--ps)
978 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
981 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
982 |
-silent |
--silent |
--silen |
--sile |
--sil)
985 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
987 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
989 sbindir
=$ac_optarg ;;
991 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
992 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
993 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
995 ac_prev
=sharedstatedir
;;
996 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
997 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
998 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1000 sharedstatedir
=$ac_optarg ;;
1002 -site |
--site |
--sit)
1004 -site=* |
--site=* |
--sit=*)
1007 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1009 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1010 srcdir
=$ac_optarg ;;
1012 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1013 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1014 ac_prev
=sysconfdir
;;
1015 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1016 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1017 sysconfdir
=$ac_optarg ;;
1019 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1020 ac_prev
=target_alias
;;
1021 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1022 target_alias
=$ac_optarg ;;
1024 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1027 -version |
--version |
--versio |
--versi |
--vers |
-V)
1028 ac_init_version
=: ;;
1031 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 as_fn_error $?
"invalid package name: $ac_useropt"
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval with_
$ac_useropt=\
$ac_optarg ;;
1046 -without-* |
--without-*)
1047 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1050 as_fn_error $?
"invalid package name: $ac_useropt"
1051 ac_useropt_orig
=$ac_useropt
1052 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1057 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1058 ac_unrecognized_sep
=', ';;
1060 eval with_
$ac_useropt=no
;;
1063 # Obsolete; use --with-x.
1066 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1067 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1068 ac_prev
=x_includes
;;
1069 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1070 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1071 x_includes
=$ac_optarg ;;
1073 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1074 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1075 ac_prev
=x_libraries
;;
1076 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1077 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1078 x_libraries
=$ac_optarg ;;
1080 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1081 Try \`$0 --help' for more information"
1085 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1086 # Reject names that are not valid shell variable names.
1087 case $ac_envvar in #(
1088 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1089 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1091 eval $ac_envvar=\
$ac_optarg
1092 export $ac_envvar ;;
1095 # FIXME: should be removed in autoconf 3.0.
1096 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1097 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1098 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1099 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1105 if test -n "$ac_prev"; then
1106 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1107 as_fn_error $?
"missing argument to $ac_option"
1110 if test -n "$ac_unrecognized_opts"; then
1111 case $enable_option_checking in
1113 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1114 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1118 # Check all directory arguments for consistency.
1119 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1120 datadir sysconfdir sharedstatedir localstatedir includedir \
1121 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1122 libdir localedir mandir
1124 eval ac_val
=\$
$ac_var
1125 # Remove trailing slashes.
1128 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1129 eval $ac_var=\
$ac_val;;
1131 # Be sure to have absolute directory names.
1133 [\\/$
]* | ?
:[\\/]* ) continue;;
1134 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1136 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1139 # There might be people who depend on the old broken behavior: `$host'
1140 # used to hold the argument of --host etc.
1141 # FIXME: To remove some day.
1144 target
=$target_alias
1146 # FIXME: To remove some day.
1147 if test "x$host_alias" != x
; then
1148 if test "x$build_alias" = x
; then
1149 cross_compiling
=maybe
1150 elif test "x$build_alias" != "x$host_alias"; then
1156 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1158 test "$silent" = yes && exec 6>/dev
/null
1161 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1162 ac_ls_di
=`ls -di .` &&
1163 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1164 as_fn_error $?
"working directory cannot be determined"
1165 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1166 as_fn_error $?
"pwd does not report name of working directory"
1169 # Find the source files, if location was not specified.
1170 if test -z "$srcdir"; then
1171 ac_srcdir_defaulted
=yes
1172 # Try the directory containing this script, then the parent directory.
1173 ac_confdir
=`$as_dirname -- "$as_myself" ||
1174 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175 X"$as_myself" : 'X\(//\)[^/]' \| \
1176 X"$as_myself" : 'X\(//\)$' \| \
1177 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1178 $as_echo X"$as_myself" |
1179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1197 if test ! -r "$srcdir/$ac_unique_file"; then
1201 ac_srcdir_defaulted
=no
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1205 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1207 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1209 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1211 # When building in place, set srcdir=.
1212 if test "$ac_abs_confdir" = "$ac_pwd"; then
1215 # Remove unnecessary trailing slashes from srcdir.
1216 # Double slashes in file names in object file debugging info
1217 # mess up M-x gdb in Emacs.
1219 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1221 for ac_var
in $ac_precious_vars; do
1222 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1223 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1224 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1225 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1229 # Report the --help message.
1231 if test "$ac_init_help" = "long"; then
1232 # Omit some internal or obsolete options to make the list less imposing.
1233 # This message is too long to be a string in the A/UX 3.1 sh.
1235 \`configure' configures this package to adapt to many kinds of systems.
1237 Usage: $0 [OPTION]... [VAR=VALUE]...
1239 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1240 VAR=VALUE. See below for descriptions of some of the useful variables.
1242 Defaults for the options are specified in brackets.
1245 -h, --help display this help and exit
1246 --help=short display options specific to this package
1247 --help=recursive display the short help of all the included packages
1248 -V, --version display version information and exit
1249 -q, --quiet, --silent do not print \`checking ...' messages
1250 --cache-file=FILE cache test results in FILE [disabled]
1251 -C, --config-cache alias for \`--cache-file=config.cache'
1252 -n, --no-create do not create output files
1253 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1255 Installation directories:
1256 --prefix=PREFIX install architecture-independent files in PREFIX
1257 [$ac_default_prefix]
1258 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1261 By default, \`make install' will install all the files in
1262 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1263 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1264 for instance \`--prefix=\$HOME'.
1266 For better control, use the options below.
1268 Fine tuning of the installation directories:
1269 --bindir=DIR user executables [EPREFIX/bin]
1270 --sbindir=DIR system admin executables [EPREFIX/sbin]
1271 --libexecdir=DIR program executables [EPREFIX/libexec]
1272 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1273 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1274 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1275 --libdir=DIR object code libraries [EPREFIX/lib]
1276 --includedir=DIR C header files [PREFIX/include]
1277 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1278 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1279 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1280 --infodir=DIR info documentation [DATAROOTDIR/info]
1281 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1282 --mandir=DIR man documentation [DATAROOTDIR/man]
1283 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1284 --htmldir=DIR html documentation [DOCDIR]
1285 --dvidir=DIR dvi documentation [DOCDIR]
1286 --pdfdir=DIR pdf documentation [DOCDIR]
1287 --psdir=DIR ps documentation [DOCDIR]
1294 if test -n "$ac_init_help"; then
1299 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1300 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1301 --with-config-dir=VERSION
1302 Location of generated target config files
1304 Some influential environment variables
:
1305 CC C compiler
command
1306 CFLAGS C compiler flags
1307 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1308 nonstandard directory
<lib dir
>
1309 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1310 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1311 you have headers
in a nonstandard directory
<include dir
>
1313 Use these variables to override the choices made by
`configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 Report bugs to the package provider.
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1346 .) # We are building in place.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1380 generated by GNU Autoconf 2.69
1382 Copyright (C) 2012 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1403 *) ac_try_echo
=$ac_try;;
1405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1409 if test -s conftest.err
; then
1410 grep -v '^ *+' conftest.err
>conftest.er1
1411 cat conftest.er1
>&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.
$ac_objext; then :
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.
$ac_ext >&5
1426 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1427 as_fn_set_status
$ac_retval
1429 } # ac_fn_c_try_compile
1430 cat >config.log
<<_ACEOF
1431 This file contains any messages produced by compilers while
1432 running configure, to aid debugging if configure makes a mistake.
1434 It was created by $as_me, which was
1435 generated by GNU Autoconf 2.69. Invocation command line was
1447 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1448 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1449 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1450 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1451 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1453 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1454 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1456 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1457 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1458 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1459 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1460 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1461 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1462 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir
=.
1471 $as_echo "PATH: $as_dir"
1487 # Keep a trace of the command line.
1488 # Strip out --no-create and --no-recursion so they do not pile up.
1489 # Strip out --silent because we don't want to record it for future runs.
1490 # Also quote any args containing shell meta-characters.
1491 # Make two passes to allow for proper duplicate-argument suppression.
1495 ac_must_keep_next
=false
1501 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1502 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1503 |
-silent |
--silent |
--silen |
--sile |
--sil)
1506 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1509 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1511 as_fn_append ac_configure_args1
" '$ac_arg'"
1512 if test $ac_must_keep_next = true
; then
1513 ac_must_keep_next
=false
# Got value, back to normal.
1516 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1517 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1518 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1519 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1520 case "$ac_configure_args0 " in
1521 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1524 -* ) ac_must_keep_next
=true
;;
1527 as_fn_append ac_configure_args
" '$ac_arg'"
1532 { ac_configure_args0
=; unset ac_configure_args0
;}
1533 { ac_configure_args1
=; unset ac_configure_args1
;}
1535 # When interrupted or exit'd, cleanup temporary files, and complete
1536 # config.log. We remove comments because anyway the quotes in there
1537 # would cause problems or look ugly.
1538 # WARNING: Use '\'' to represent an apostrophe within the trap.
1539 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1540 trap 'exit_status=$?
1541 # Save into config.log some information that might help in debugging.
1545 $as_echo "## ---------------- ##
1546 ## Cache variables. ##
1547 ## ---------------- ##"
1549 # The following way of writing the cache mishandles newlines in values,
1551 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1552 eval ac_val=\$$ac_var
1556 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1557 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1560 _ | IFS | as_nl) ;; #(
1561 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1562 *) { eval $ac_var=; unset $ac_var;} ;;
1567 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1568 *${as_nl}ac_space=\ *)
1570 "s/'\''/'\''\\\\'\'''\''/g;
1571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1574 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1581 $as_echo "## ----------------- ##
1582 ## Output variables. ##
1583 ## ----------------- ##"
1585 for ac_var in $ac_subst_vars
1587 eval ac_val=\$$ac_var
1589 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1591 $as_echo "$ac_var='\''$ac_val'\''"
1595 if test -n "$ac_subst_files"; then
1596 $as_echo "## ------------------- ##
1597 ## File substitutions. ##
1598 ## ------------------- ##"
1600 for ac_var
in $ac_subst_files
1602 eval ac_val
=\$
$ac_var
1604 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1606 $as_echo "$ac_var='\''$ac_val'\''"
1611 if test -s confdefs.h; then
1612 $as_echo "## ----------- ##
1619 test "$ac_signal" != 0 &&
1620 $as_echo "$as_me: caught signal $ac_signal"
1621 $as_echo "$as_me: exit $exit_status"
1623 rm -f core *.core core.conftest.* &&
1624 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1627 for ac_signal
in 1 2 13 15; do
1628 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1632 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1633 rm -f -r conftest
* confdefs.h
1635 $as_echo "/* confdefs.h */" > confdefs.h
1637 # Predefined preprocessor variables.
1639 cat >>confdefs.h
<<_ACEOF
1640 #define PACKAGE_NAME "$PACKAGE_NAME"
1643 cat >>confdefs.h
<<_ACEOF
1644 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1647 cat >>confdefs.h
<<_ACEOF
1648 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1651 cat >>confdefs.h
<<_ACEOF
1652 #define PACKAGE_STRING "$PACKAGE_STRING"
1655 cat >>confdefs.h
<<_ACEOF
1656 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1659 cat >>confdefs.h
<<_ACEOF
1660 #define PACKAGE_URL "$PACKAGE_URL"
1664 # Let the site file select an alternate cache file if it wants to.
1665 # Prefer an explicitly selected file to automatically selected ones.
1668 if test -n "$CONFIG_SITE"; then
1669 # We do not want a PATH search for config.site.
1670 case $CONFIG_SITE in #((
1671 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1672 */*) ac_site_file1
=$CONFIG_SITE;;
1673 *) ac_site_file1
=.
/$CONFIG_SITE;;
1675 elif test "x$prefix" != xNONE
; then
1676 ac_site_file1
=$prefix/share
/config.site
1677 ac_site_file2
=$prefix/etc
/config.site
1679 ac_site_file1
=$ac_default_prefix/share
/config.site
1680 ac_site_file2
=$ac_default_prefix/etc
/config.site
1682 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1684 test "x$ac_site_file" = xNONE
&& continue
1685 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1687 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1688 sed 's/^/| /' "$ac_site_file" >&5
1690 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1692 as_fn_error $?
"failed to load site script $ac_site_file
1693 See \`config.log' for more details" "$LINENO" 5; }
1697 if test -r "$cache_file"; then
1698 # Some versions of bash will fail to source /dev/null (special files
1699 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1700 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1702 $as_echo "$as_me: loading cache $cache_file" >&6;}
1704 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1705 *) .
"./$cache_file";;
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1710 $as_echo "$as_me: creating cache $cache_file" >&6;}
1714 # Check that the precious variables saved in the cache have kept the same
1716 ac_cache_corrupted
=false
1717 for ac_var
in $ac_precious_vars; do
1718 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1719 eval ac_new_set
=\
$ac_env_${ac_var}_set
1720 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1721 eval ac_new_val
=\
$ac_env_${ac_var}_value
1722 case $ac_old_set,$ac_new_set in
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1725 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1726 ac_cache_corrupted
=: ;;
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1729 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1730 ac_cache_corrupted
=: ;;
1733 if test "x$ac_old_val" != "x$ac_new_val"; then
1734 # differences in whitespace do not lead to failure.
1735 ac_old_val_w
=`echo x $ac_old_val`
1736 ac_new_val_w
=`echo x $ac_new_val`
1737 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1739 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1740 ac_cache_corrupted
=:
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1743 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1744 eval $ac_var=\
$ac_old_val
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1747 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1749 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1752 # Pass precious variables to config.status.
1753 if test "$ac_new_set" = set; then
1755 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1756 *) ac_arg
=$ac_var=$ac_new_val ;;
1758 case " $ac_configure_args " in
1759 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1760 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1764 if $ac_cache_corrupted; then
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1768 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1769 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1771 ## -------------------- ##
1772 ## Main body of script. ##
1773 ## -------------------- ##
1776 ac_cpp
='$CPP $CPPFLAGS'
1777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1784 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
1785 if test -f "$ac_dir/install-sh"; then
1787 ac_install_sh
="$ac_aux_dir/install-sh -c"
1789 elif test -f "$ac_dir/install.sh"; then
1791 ac_install_sh
="$ac_aux_dir/install.sh -c"
1793 elif test -f "$ac_dir/shtool"; then
1795 ac_install_sh
="$ac_aux_dir/shtool install -c"
1799 if test -z "$ac_aux_dir"; then
1800 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1803 # These three variables are undocumented and unsupported,
1804 # and are intended to be withdrawn in a future Autoconf release.
1805 # They can cause serious problems if a builder's source tree is in a directory
1806 # whose full name contains unusual characters.
1807 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1808 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1809 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1813 # Don't know where else to put this...
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
1815 $as_echo_n "checking building AROS in... " >&6; }
1816 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1817 AROS_BUILDDIR_UNIX
=${PWD}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
1819 $as_echo "$AROS_BUILDDIR" >&6; }
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
1822 $as_echo_n "checking AROS source in... " >&6; }
1823 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
1826 $as_echo "$SRCDIR" >&6; }
1828 NOLINKFLAGS
="-nostdlib -nostartfiles"
1829 LDFLAGS
=$NOLINKFLAGS
1830 # The first step is to find the binaries.
1832 ac_cpp
='$CPP $CPPFLAGS'
1833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1836 if test -n "$ac_tool_prefix"; then
1837 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1838 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1840 $as_echo_n "checking for $ac_word... " >&6; }
1841 if ${ac_cv_prog_CC+:} false
; then :
1842 $as_echo_n "(cached) " >&6
1844 if test -n "$CC"; then
1845 ac_cv_prog_CC
="$CC" # Let the user override the test.
1847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir
=.
1852 for ac_exec_ext
in '' $ac_executable_extensions; do
1853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 if test -n "$CC"; then
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1867 $as_echo "$CC" >&6; }
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1870 $as_echo "no" >&6; }
1875 if test -z "$ac_cv_prog_CC"; then
1877 # Extract the first word of "gcc", so it can be a program name with args.
1878 set dummy gcc
; ac_word
=$2
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1880 $as_echo_n "checking for $ac_word... " >&6; }
1881 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1882 $as_echo_n "(cached) " >&6
1884 if test -n "$ac_ct_CC"; then
1885 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1891 test -z "$as_dir" && as_dir
=.
1892 for ac_exec_ext
in '' $ac_executable_extensions; do
1893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1894 ac_cv_prog_ac_ct_CC
="gcc"
1895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1905 if test -n "$ac_ct_CC"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1907 $as_echo "$ac_ct_CC" >&6; }
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1910 $as_echo "no" >&6; }
1913 if test "x$ac_ct_CC" = x
; then
1916 case $cross_compiling:$ac_tool_warned in
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1920 ac_tool_warned
=yes ;;
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1930 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1931 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1933 $as_echo_n "checking for $ac_word... " >&6; }
1934 if ${ac_cv_prog_CC+:} false
; then :
1935 $as_echo_n "(cached) " >&6
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC
="$CC" # Let the user override the test.
1940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir
=.
1945 for ac_exec_ext
in '' $ac_executable_extensions; do
1946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 if test -n "$CC"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1960 $as_echo "$CC" >&6; }
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1963 $as_echo "no" >&6; }
1969 if test -z "$CC"; then
1970 # Extract the first word of "cc", so it can be a program name with args.
1971 set dummy cc
; ac_word
=$2
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1973 $as_echo_n "checking for $ac_word... " >&6; }
1974 if ${ac_cv_prog_CC+:} false
; then :
1975 $as_echo_n "(cached) " >&6
1977 if test -n "$CC"; then
1978 ac_cv_prog_CC
="$CC" # Let the user override the test.
1981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir
=.
1986 for ac_exec_ext
in '' $ac_executable_extensions; do
1987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1988 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1989 ac_prog_rejected
=yes
1993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 if test $ac_prog_rejected = yes; then
2001 # We found a bogon in the path, so make sure we never use it.
2002 set dummy
$ac_cv_prog_CC
2004 if test $# != 0; then
2005 # We chose a different compiler from the bogus one.
2006 # However, it has the same basename, so the bogon will be chosen
2007 # first if we set CC to just the basename; use the full file name.
2009 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2015 if test -n "$CC"; then
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2017 $as_echo "$CC" >&6; }
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2020 $as_echo "no" >&6; }
2025 if test -z "$CC"; then
2026 if test -n "$ac_tool_prefix"; then
2027 for ac_prog
in cl.exe
2029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2030 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_CC+:} false
; then :
2034 $as_echo_n "(cached) " >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC
="$CC" # Let the user override the test.
2039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir
=.
2044 for ac_exec_ext
in '' $ac_executable_extensions; do
2045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 if test -n "$CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2059 $as_echo "$CC" >&6; }
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2066 test -n "$CC" && break
2069 if test -z "$CC"; then
2071 for ac_prog
in cl.exe
2073 # Extract the first word of "$ac_prog", so it can be a program name with args.
2074 set dummy
$ac_prog; ac_word
=$2
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2076 $as_echo_n "checking for $ac_word... " >&6; }
2077 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2078 $as_echo_n "(cached) " >&6
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC
="$ac_prog"
2091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2101 if test -n "$ac_ct_CC"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2103 $as_echo "$ac_ct_CC" >&6; }
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2106 $as_echo "no" >&6; }
2110 test -n "$ac_ct_CC" && break
2113 if test "x$ac_ct_CC" = x
; then
2116 case $cross_compiling:$ac_tool_warned in
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2120 ac_tool_warned
=yes ;;
2129 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2131 as_fn_error $?
"no acceptable C compiler found in \$PATH
2132 See \`config.log' for more details" "$LINENO" 5; }
2134 # Provide some information about the compiler.
2135 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2138 for ac_option
in --version -v -V -qversion; do
2139 { { ac_try
="$ac_compiler $ac_option >&5"
2141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2145 $as_echo "$ac_try_echo"; } >&5
2146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2148 if test -s conftest.err; then
2150 ... rest of stderr output deleted ...
2151 10q' conftest.err >conftest.er1
2152 cat conftest.er1 >&5
2154 rm -f conftest.er1 conftest.err
2155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2156 test $ac_status = 0; }
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2170 ac_clean_files_save=$ac_clean_files
2171 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2172 # Try to create an executable without -o first, disregard a.out.
2173 # It will help us diagnose broken compilers, and finding out an intuition
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2176 $as_echo_n "checking whether the C compiler works... " >&6; }
2177 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2179 # The possible output files:
2180 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2183 for ac_file in $ac_files
2186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2187 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2192 if { { ac_try="$ac_link_default"
2194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2195 *) ac_try_echo
=$ac_try;;
2197 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2198 $as_echo "$ac_try_echo"; } >&5
2199 (eval "$ac_link_default") 2>&5
2201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2202 test $ac_status = 0; }; then :
2203 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2204 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2205 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2206 # so that the user can short-circuit this test for compilers unknown to
2208 for ac_file
in $ac_files ''
2210 test -f "$ac_file" ||
continue
2212 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2215 # We found the default executable, but exeext='' is most
2219 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2221 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2223 # We set ac_cv_exeext here because the later test for it is not
2224 # safe: cross compilers may not add the suffix if given an `-o'
2225 # argument, so we may need to know it at that point already.
2226 # Even if this section looks crufty: it has the advantage of
2233 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2238 if test -z "$ac_file"; then :
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2240 $as_echo "no" >&6; }
2241 $as_echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.
$ac_ext >&5
2244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246 as_fn_error
77 "C compiler cannot create executables
2247 See \`config.log' for more details" "$LINENO" 5; }
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2250 $as_echo "yes" >&6; }
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2253 $as_echo_n "checking for C compiler default output file name... " >&6; }
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2255 $as_echo "$ac_file" >&6; }
2256 ac_exeext
=$ac_cv_exeext
2258 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2259 ac_clean_files
=$ac_clean_files_save
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2261 $as_echo_n "checking for suffix of executables... " >&6; }
2262 if { { ac_try
="$ac_link"
2264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2265 *) ac_try_echo=$ac_try;;
2267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268 $as_echo "$ac_try_echo"; } >&5
2269 (eval "$ac_link") 2>&5
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; }; then :
2273 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2274 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2275 # work properly (i.e., refer to `conftest.exe'), while it won't with
2277 for ac_file
in conftest.exe conftest conftest.
*; do
2278 test -f "$ac_file" ||
continue
2280 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2281 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2290 See \`config.log' for more details" "$LINENO" 5; }
2292 rm -f conftest conftest
$ac_cv_exeext
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2294 $as_echo "$ac_cv_exeext" >&6; }
2296 rm -f conftest.
$ac_ext
2297 EXEEXT
=$ac_cv_exeext
2299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2305 FILE *f = fopen ("conftest.out", "w");
2306 return ferror (f) || fclose (f) != 0;
2312 ac_clean_files
="$ac_clean_files conftest.out"
2313 # Check that the compiler produces executables we can run. If not, either
2314 # the compiler is broken, or we cross compile.
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2316 $as_echo_n "checking whether we are cross compiling... " >&6; }
2317 if test "$cross_compiling" != yes; then
2318 { { ac_try
="$ac_link"
2320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2324 $as_echo "$ac_try_echo"; } >&5
2325 (eval "$ac_link") 2>&5
2327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2328 test $ac_status = 0; }
2329 if { ac_try='./conftest$ac_cv_exeext'
2330 { { case "(($ac_try" in
2331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2332 *) ac_try_echo
=$ac_try;;
2334 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_try") 2>&5
2338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2339 test $ac_status = 0; }; }; then
2342 if test "$cross_compiling" = maybe
; then
2345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2347 as_fn_error $?
"cannot run C compiled programs.
2348 If you meant to cross compile, use \`--host'.
2349 See \`config.log' for more details" "$LINENO" 5; }
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2354 $as_echo "$cross_compiling" >&6; }
2356 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2357 ac_clean_files
=$ac_clean_files_save
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2359 $as_echo_n "checking for suffix of object files... " >&6; }
2360 if ${ac_cv_objext+:} false
; then :
2361 $as_echo_n "(cached) " >&6
2363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2364 /* end confdefs.h. */
2374 rm -f conftest.o conftest.obj
2375 if { { ac_try
="$ac_compile"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_compile") 2>&5
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; }; then :
2386 for ac_file in conftest.o conftest.obj conftest.*; do
2387 test -f "$ac_file" || continue;
2389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2390 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2400 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2401 See \
`config.log' for more details" "$LINENO" 5; }
2403 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2406 $as_echo "$ac_cv_objext" >&6; }
2407 OBJEXT=$ac_cv_objext
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2410 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2411 if ${ac_cv_c_compiler_gnu+:} false; then :
2412 $as_echo_n "(cached) " >&6
2414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2415 /* end confdefs.h. */
2428 if ac_fn_c_try_compile "$LINENO"; then :
2433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2434 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2438 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2439 if test $ac_compiler_gnu = yes; then
2444 ac_test_CFLAGS=${CFLAGS+set}
2445 ac_save_CFLAGS=$CFLAGS
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2447 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2448 if ${ac_cv_prog_cc_g+:} false; then :
2449 $as_echo_n "(cached) " >&6
2451 ac_save_c_werror_flag=$ac_c_werror_flag
2452 ac_c_werror_flag=yes
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2466 if ac_fn_c_try_compile "$LINENO"; then :
2470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2471 /* end confdefs.h. */
2481 if ac_fn_c_try_compile "$LINENO"; then :
2484 ac_c_werror_flag=$ac_save_c_werror_flag
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2497 if ac_fn_c_try_compile "$LINENO"; then :
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 ac_c_werror_flag=$ac_save_c_werror_flag
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2508 $as_echo "$ac_cv_prog_cc_g" >&6; }
2509 if test "$ac_test_CFLAGS" = set; then
2510 CFLAGS=$ac_save_CFLAGS
2511 elif test $ac_cv_prog_cc_g = yes; then
2512 if test "$GCC" = yes; then
2518 if test "$GCC" = yes; then
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2525 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2526 if ${ac_cv_prog_cc_c89+:} false; then :
2527 $as_echo_n "(cached) " >&6
2529 ac_cv_prog_cc_c89=no
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2536 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2537 struct buf { int x; };
2538 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2539 static char *e (p, i)
2545 static char *f (char * (*g) (char **, int), char **p, ...)
2550 s = g (p, va_arg (v,int));
2555 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2556 function prototypes and stuff, but not '\xHH' hex character constants.
2557 These don't provoke an error unfortunately, instead are silently treated
2558 as 'x'. The following induces an error, until -std is added to get
2559 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2560 array size at least. It's necessary to write '\x00'==0 to get something
2561 that's true only with -std. */
2562 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2564 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2565 inside strings and character constants. */
2567 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2569 int test (int i, double x);
2570 struct s1 {int (*f) (int a);};
2571 struct s2 {int (*f) (double a);};
2572 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2578 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2584 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2586 CC="$ac_save_CC $ac_arg"
2587 if ac_fn_c_try_compile "$LINENO"; then :
2588 ac_cv_prog_cc_c89=$ac_arg
2590 rm -f core conftest.err conftest.$ac_objext
2591 test "x$ac_cv_prog_cc_c89" != "xno" && break
2593 rm -f conftest.$ac_ext
2598 case "x$ac_cv_prog_cc_c89" in
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2601 $as_echo "none needed" >&6; } ;;
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2604 $as_echo "unsupported" >&6; } ;;
2606 CC="$CC $ac_cv_prog_cc_c89"
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2608 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2610 if test "x$ac_cv_prog_cc_c89" != xno; then :
2615 ac_cpp='$CPP $CPPFLAGS'
2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2622 $as_echo_n "checking target config location... " >&6; }
2624 # Check whether --with-config-dir was given.
2625 if test "${with_config_dir+set}" = set; then :
2626 withval=$with_config_dir; targetcfg_dir="$withval"
2631 if test "$targetcfg_dir" = ""; then
2632 as_fn_error $? "missing config directory!" "$LINENO" 5
2634 aros_targetcfg_dir="$targetcfg_dir"
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2637 $as_echo "$aros_targetcfg_dir" >&6; }
2639 #-----------------------------------------------------------------------------
2641 # Check if the target compiler supports some options used for delinting:
2642 # -Wunused-but-set-variable
2646 # -Wstrict-prototypes
2649 # -Wmisleading-indentation
2656 # -Wmaybe-uninitialized
2657 # -Wimplicit-function-declaration
2662 # -Wformat-contains-nul
2664 # -Waggressive-loop-optimizations
2667 # -Wdiscarded-qualifiers
2670 # -Wdiscarded-array-qualifiers
2672 # -Wint-to-pointer-cast
2673 # -Wpointer-to-int-cast
2674 # -Wunused-const-variable
2677 # -Wincompatible-pointer-types
2679 # -Wlogical-not-parentheses
2683 # -Wdeprecated-declarations
2687 # -Wunused-local-typedefs
2691 # -Wvolatile-register-var
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2694 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2695 CFLAGS=-Wunused-but-set-variable
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2708 if ac_fn_c_try_compile "$LINENO"; then :
2709 aros_unused_but_set_variable="yes"
2711 aros_unused_but_set_variable="no"
2713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2715 $as_echo "$aros_unused_but_set_variable" >&6; }
2716 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2717 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2721 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2722 CFLAGS=-Wstrict-aliasing
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2734 if ac_fn_c_try_compile "$LINENO"; then :
2735 aros_strict_aliasing="yes"
2737 aros_strict_aliasing="no"
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2741 $as_echo "$aros_strict_aliasing" >&6; }
2742 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2743 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2747 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2748 CFLAGS=-Warray-bounds
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2760 if ac_fn_c_try_compile "$LINENO"; then :
2761 aros_array_bounds="yes"
2763 aros_array_bounds="no"
2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2767 $as_echo "$aros_array_bounds" >&6; }
2768 if test "x-$aros_array_bounds" = "x-yes" ; then
2769 aros_cflags_array_bounds=-Wno-array-bounds
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2773 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2774 CFLAGS=-Wenum-compare
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2786 if ac_fn_c_try_compile "$LINENO"; then :
2787 aros_enum_compare="yes"
2789 aros_enum_compare="no"
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2793 $as_echo "$aros_enum_compare" >&6; }
2794 if test "x-$aros_enum_compare" = "x-yes" ; then
2795 aros_cflags_enum_compare=-Wno-enum-compare
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2799 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2800 CFLAGS=-Wstrict-prototypes
2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802 /* end confdefs.h. */
2812 if ac_fn_c_try_compile "$LINENO"; then :
2813 aros_strict_prototypes="yes"
2815 aros_strict_prototypes="no"
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
2819 $as_echo "$aros_strict_prototypes" >&6; }
2820 if test "x-$aros_strict_prototypes" = "x-yes" ; then
2821 aros_cflags_strict_prototypes=-Wno-strict-prototypes
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
2825 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
2826 CFLAGS=-Wstrict-overflow
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2838 if ac_fn_c_try_compile "$LINENO"; then :
2839 aros_strict_overflow="yes"
2841 aros_strict_overflow="no"
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
2845 $as_echo "$aros_strict_overflow" >&6; }
2846 if test "x-$aros_strict_overflow" = "x-yes" ; then
2847 aros_cflags_strict_overflow=-Wno-strict-overflow
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
2851 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
2852 CFLAGS=-Wformat-security
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2864 if ac_fn_c_try_compile "$LINENO"; then :
2865 aros_format_security="yes"
2867 aros_format_security="no"
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
2871 $as_echo "$aros_format_security" >&6; }
2872 if test "x-$aros_format_security" = "x-yes" ; then
2873 aros_cflags_format_security=-Wno-format-security
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
2877 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
2878 CFLAGS=-Wmisleading-indentation
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 aros_misleading_indentation="yes"
2893 aros_misleading_indentation="no"
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
2897 $as_echo "$aros_misleading_indentation" >&6; }
2898 if test "x-$aros_misleading_indentation" = "x-yes" ; then
2899 aros_cflags_misleading_indentation=-Wno-misleading-indentation
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
2903 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
2904 CFLAGS=-Wnonnull-compare
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 aros_nonnull_compare="yes"
2919 aros_nonnull_compare="no"
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
2923 $as_echo "$aros_nonnull_compare" >&6; }
2924 if test "x-$aros_nonnull_compare" = "x-yes" ; then
2925 aros_cflags_nonnull_compare=-Wno-nonnull-compare
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
2929 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2942 if ac_fn_c_try_compile "$LINENO"; then :
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
2949 $as_echo "$aros_unused" >&6; }
2950 if test "x-$aros_unused" = "x-yes" ; then
2951 aros_cflags_unused=-Wno-unused
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
2955 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
2956 CFLAGS=-Wunused-value
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2968 if ac_fn_c_try_compile "$LINENO"; then :
2969 aros_unused_value="yes"
2971 aros_unused_value="no"
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
2975 $as_echo "$aros_unused_value" >&6; }
2976 if test "x-$aros_unused_value" = "x-yes" ; then
2977 aros_cflags_unused_value=-Wno-unused-value
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
2981 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
2982 CFLAGS=-Wunused-variable
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2994 if ac_fn_c_try_compile "$LINENO"; then :
2995 aros_unused_variable="yes"
2997 aros_unused_variable="no"
2999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3001 $as_echo "$aros_unused_variable" >&6; }
3002 if test "x-$aros_unused_variable" = "x-yes" ; then
3003 aros_cflags_unused_variable=-Wno-unused-variable
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3007 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3008 CFLAGS=-Wunused-function
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3020 if ac_fn_c_try_compile "$LINENO"; then :
3021 aros_unused_function="yes"
3023 aros_unused_function="no"
3025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3027 $as_echo "$aros_unused_function" >&6; }
3028 if test "x-$aros_unused_function" = "x-yes" ; then
3029 aros_cflags_unused_function=-Wno-unused-function
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3033 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3034 CFLAGS=-Wuninitialized
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3046 if ac_fn_c_try_compile "$LINENO"; then :
3047 aros_uninitialized="yes"
3049 aros_uninitialized="no"
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3053 $as_echo "$aros_uninitialized" >&6; }
3054 if test "x-$aros_uninitialized" = "x-yes" ; then
3055 aros_cflags_uninitialized=-Wno-uninitialized
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3059 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3060 CFLAGS=-Wmaybe-uninitialized
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3072 if ac_fn_c_try_compile "$LINENO"; then :
3073 aros_maybe_uninitialized="yes"
3075 aros_maybe_uninitialized="no"
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3079 $as_echo "$aros_maybe_uninitialized" >&6; }
3080 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3081 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3085 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3086 CFLAGS=-Wimplicit-function-declaration
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3098 if ac_fn_c_try_compile "$LINENO"; then :
3099 aros_implicit_function_declaration="yes"
3101 aros_implicit_function_declaration="no"
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3105 $as_echo "$aros_implicit_function_declaration" >&6; }
3106 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3107 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3111 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3124 if ac_fn_c_try_compile "$LINENO"; then :
3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3131 $as_echo "$aros_format" >&6; }
3132 if test "x-$aros_format" = "x-yes" ; then
3133 aros_cflags_format=-Wno-format
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3137 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3138 CFLAGS=-Wparentheses
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3150 if ac_fn_c_try_compile "$LINENO"; then :
3151 aros_parentheses="yes"
3153 aros_parentheses="no"
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3157 $as_echo "$aros_parentheses" >&6; }
3158 if test "x-$aros_parentheses" = "x-yes" ; then
3159 aros_cflags_parentheses=-Wno-parentheses
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3163 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3164 CFLAGS=-Wchar-subscripts
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3176 if ac_fn_c_try_compile "$LINENO"; then :
3177 aros_char_subscripts="yes"
3179 aros_char_subscripts="no"
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3183 $as_echo "$aros_char_subscripts" >&6; }
3184 if test "x-$aros_char_subscripts" = "x-yes" ; then
3185 aros_cflags_char_subscripts=-Wno-char-subscripts
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3189 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3190 CFLAGS=-Wendif-labels
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3202 if ac_fn_c_try_compile "$LINENO"; then :
3203 aros_endif_labels="yes"
3205 aros_endif_labels="no"
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3209 $as_echo "$aros_endif_labels" >&6; }
3210 if test "x-$aros_endif_labels" = "x-yes" ; then
3211 aros_cflags_endif_labels=-Wno-endif-labels
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3215 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3216 CFLAGS=-Wformat-contains-nul
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3228 if ac_fn_c_try_compile "$LINENO"; then :
3229 aros_format_contains_nul="yes"
3231 aros_format_contains_nul="no"
3233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3235 $as_echo "$aros_format_contains_nul" >&6; }
3236 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3237 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3241 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3242 CFLAGS=-Wimplicit-int
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3254 if ac_fn_c_try_compile "$LINENO"; then :
3255 aros_implicit_int="yes"
3257 aros_implicit_int="no"
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3261 $as_echo "$aros_implicit_int" >&6; }
3262 if test "x-$aros_implicit_int" = "x-yes" ; then
3263 aros_cflags_implicit_int=-Wno-implicit-int
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3267 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3268 CFLAGS=-Waggressive-loop-optimizations
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3280 if ac_fn_c_try_compile "$LINENO"; then :
3281 aros_aggressive_loop_optimizations="yes"
3283 aros_aggressive_loop_optimizations="no"
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3287 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3288 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3289 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3293 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3306 if ac_fn_c_try_compile "$LINENO"; then :
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3313 $as_echo "$aros_cpp" >&6; }
3314 if test "x-$aros_cpp" = "x-yes" ; then
3315 aros_cflags_cpp=-Wno-cpp
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3319 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3332 if ac_fn_c_try_compile "$LINENO"; then :
3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3339 $as_echo "$aros_switch" >&6; }
3340 if test "x-$aros_switch" = "x-yes" ; then
3341 aros_cflags_switch=-Wno-switch
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3345 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3346 CFLAGS=-Wdiscarded-qualifiers
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3358 if ac_fn_c_try_compile "$LINENO"; then :
3359 aros_discarded_qualifiers="yes"
3361 aros_discarded_qualifiers="no"
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3365 $as_echo "$aros_discarded_qualifiers" >&6; }
3366 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3367 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3371 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3372 CFLAGS=-Wsequence-point
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3384 if ac_fn_c_try_compile "$LINENO"; then :
3385 aros_sequence_point="yes"
3387 aros_sequence_point="no"
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3391 $as_echo "$aros_sequence_point" >&6; }
3392 if test "x-$aros_sequence_point" = "x-yes" ; then
3393 aros_cflags_sequence_point=-Wno-sequence-point
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3397 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3398 CFLAGS=-Wunknown-pragmas
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3410 if ac_fn_c_try_compile "$LINENO"; then :
3411 aros_unknown_pragmas="yes"
3413 aros_unknown_pragmas="no"
3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3417 $as_echo "$aros_unknown_pragmas" >&6; }
3418 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3419 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3423 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3424 CFLAGS=-Wdiscarded-array-qualifiers
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 aros_discarded_array_qualifiers="yes"
3439 aros_discarded_array_qualifiers="no"
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3443 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3444 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3445 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3449 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3450 CFLAGS=-Wint-conversion
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3462 if ac_fn_c_try_compile "$LINENO"; then :
3463 aros_int_conversion="yes"
3465 aros_int_conversion="no"
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3469 $as_echo "$aros_int_conversion" >&6; }
3470 if test "x-$aros_int_conversion" = "x-yes" ; then
3471 aros_cflags_int_conversion=-Wno-int-conversion
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3475 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3476 CFLAGS=-Wint-to-pointer-cast
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3488 if ac_fn_c_try_compile "$LINENO"; then :
3489 aros_int_to_pointer_cast="yes"
3491 aros_int_to_pointer_cast="no"
3493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3495 $as_echo "$aros_int_to_pointer_cast" >&6; }
3496 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3497 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3501 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3502 CFLAGS=-Wpointer-to-int-cast
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 if ac_fn_c_try_compile "$LINENO"; then :
3515 aros_pointer_to_int_cast="yes"
3517 aros_pointer_to_int_cast="no"
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3521 $as_echo "$aros_pointer_to_int_cast" >&6; }
3522 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3523 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3527 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3528 CFLAGS=-Wunused-const-variable
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3540 if ac_fn_c_try_compile "$LINENO"; then :
3541 aros_unused_const_variable="yes"
3543 aros_unused_const_variable="no"
3545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3547 $as_echo "$aros_unused_const_variable" >&6; }
3548 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3549 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3553 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3554 CFLAGS=-Wwrite-strings
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3566 if ac_fn_c_try_compile "$LINENO"; then :
3567 aros_write_strings="yes"
3569 aros_write_strings="no"
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3573 $as_echo "$aros_write_strings" >&6; }
3574 if test "x-$aros_write_strings" = "x-yes" ; then
3575 aros_cflags_write_strings=-Wno-write-strings
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3579 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 if ac_fn_c_try_compile "$LINENO"; then :
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3599 $as_echo "$aros_comment" >&6; }
3600 if test "x-$aros_comment" = "x-yes" ; then
3601 aros_cflags_comment=-Wno-comment
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3605 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3606 CFLAGS=-Wincompatible-pointer-types
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3618 if ac_fn_c_try_compile "$LINENO"; then :
3619 aros_incompatible_pointer_types="yes"
3621 aros_incompatible_pointer_types="no"
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3625 $as_echo "$aros_incompatible_pointer_types" >&6; }
3626 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3627 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3631 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3632 CFLAGS=-Wbool-compare
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3644 if ac_fn_c_try_compile "$LINENO"; then :
3645 aros_bool_compare="yes"
3647 aros_bool_compare="no"
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3651 $as_echo "$aros_bool_compare" >&6; }
3652 if test "x-$aros_bool_compare" = "x-yes" ; then
3653 aros_cflags_bool_compare=-Wno-bool-compare
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3657 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3658 CFLAGS=-Wlogical-not-parentheses
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3670 if ac_fn_c_try_compile "$LINENO"; then :
3671 aros_logical_not_parentheses="yes"
3673 aros_logical_not_parentheses="no"
3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3677 $as_echo "$aros_logical_not_parentheses" >&6; }
3678 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3679 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3683 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3684 CFLAGS=-Wpointer-sign
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3696 if ac_fn_c_try_compile "$LINENO"; then :
3697 aros_pointer_sign="yes"
3699 aros_pointer_sign="no"
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3703 $as_echo "$aros_pointer_sign" >&6; }
3704 if test "x-$aros_pointer_sign" = "x-yes" ; then
3705 aros_cflags_pointer_sign=-Wno-pointer-sign
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3709 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3710 CFLAGS=-Wshift-overflow
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3722 if ac_fn_c_try_compile "$LINENO"; then :
3723 aros_shift_overflow="yes"
3725 aros_shift_overflow="no"
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3729 $as_echo "$aros_shift_overflow" >&6; }
3730 if test "x-$aros_shift_overflow" = "x-yes" ; then
3731 aros_cflags_shift_overflow=-Wno-shift-overflow
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3735 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3736 CFLAGS=-Wframe-address
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3748 if ac_fn_c_try_compile "$LINENO"; then :
3749 aros_frame_address="yes"
3751 aros_frame_address="no"
3753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3755 $as_echo "$aros_frame_address" >&6; }
3756 if test "x-$aros_frame_address" = "x-yes" ; then
3757 aros_cflags_frame_address=-Wno-frame-address
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3761 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3762 CFLAGS=-Wdeprecated-declarations
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3774 if ac_fn_c_try_compile "$LINENO"; then :
3775 aros_deprecated_declarations="yes"
3777 aros_deprecated_declarations="no"
3779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3781 $as_echo "$aros_deprecated_declarations" >&6; }
3782 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3783 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
3787 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
3788 CFLAGS=-Wsign-compare
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3800 if ac_fn_c_try_compile "$LINENO"; then :
3801 aros_sign_compare="yes"
3803 aros_sign_compare="no"
3805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
3807 $as_echo "$aros_sign_compare" >&6; }
3808 if test "x-$aros_sign_compare" = "x-yes" ; then
3809 aros_cflags_sign_compare=-Wno-sign-compare
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
3813 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 if ac_fn_c_try_compile "$LINENO"; then :
3827 aros_attributes="yes"
3829 aros_attributes="no"
3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
3833 $as_echo "$aros_attributes" >&6; }
3834 if test "x-$aros_attributes" = "x-yes" ; then
3835 aros_cflags_attributes=-Wno-attributes
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
3839 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3852 if ac_fn_c_try_compile "$LINENO"; then :
3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
3859 $as_echo "$aros_overflow" >&6; }
3860 if test "x-$aros_overflow" = "x-yes" ; then
3861 aros_cflags_overflow=-Wno-overflow
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
3865 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
3866 CFLAGS=-Wunused-local-typedefs
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3878 if ac_fn_c_try_compile "$LINENO"; then :
3879 aros_unused_local_typedefs="yes"
3881 aros_unused_local_typedefs="no"
3883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
3885 $as_echo "$aros_unused_local_typedefs" >&6; }
3886 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
3887 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
3891 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
3892 CFLAGS=-Wmissing-braces
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3904 if ac_fn_c_try_compile "$LINENO"; then :
3905 aros_missing_braces="yes"
3907 aros_missing_braces="no"
3909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
3911 $as_echo "$aros_missing_braces" >&6; }
3912 if test "x-$aros_missing_braces" = "x-yes" ; then
3913 aros_cflags_missing_braces=-Wno-missing-braces
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
3917 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
3918 CFLAGS=-Wconversion-null
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 if ac_fn_c_try_compile "$LINENO"; then :
3931 aros_conversion_null="yes"
3933 aros_conversion_null="no"
3935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
3937 $as_echo "$aros_conversion_null" >&6; }
3938 if test "x-$aros_conversion_null" = "x-yes" ; then
3939 aros_cflags_conversion_null=-Wno-conversion-null
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
3943 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3956 if ac_fn_c_try_compile "$LINENO"; then :
3957 aros_narrowing="yes"
3961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
3963 $as_echo "$aros_narrowing" >&6; }
3964 if test "x-$aros_narrowing" = "x-yes" ; then
3965 aros_cflags_narrowing=-Wno-narrowing
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
3969 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
3970 CFLAGS=-Wvolatile-register-var
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3982 if ac_fn_c_try_compile "$LINENO"; then :
3983 aros_volatile_register_var="yes"
3985 aros_volatile_register_var="no"
3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
3989 $as_echo "$aros_volatile_register_var" >&6; }
3990 if test "x-$aros_volatile_register_var" = "x-yes" ; then
3991 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4045 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4048 cat >confcache <<\_ACEOF
4049 # This file is a shell script that caches the results of configure
4050 # tests run on this system so they can be shared between configure
4051 # scripts and configure runs, see configure's option --config-cache.
4052 # It is not useful on other systems. If it contains results you don't
4053 # want to keep, you may remove or edit it.
4055 # config.status only pays attention to the cache file if you give it
4056 # the --recheck option to rerun configure.
4058 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4059 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4064 # The following way of writing the cache mishandles newlines in values,
4065 # but we know of no workaround that is simple, portable, and efficient.
4066 # So, we kill variables containing newlines.
4067 # Ultrix sh set writes to stderr and can't be redirected directly,
4068 # and sets the high bit in the cache file unless we assign to the vars.
4070 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4071 eval ac_val
=\$
$ac_var
4075 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4076 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4079 _ | IFS | as_nl
) ;; #(
4080 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4081 *) { eval $ac_var=; unset $ac_var;} ;;
4087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4088 *${as_nl}ac_space
=\
*)
4089 # `set' does not quote correctly, so add quotes: double-quote
4090 # substitution turns \\\\ into \\, and sed turns \\ into \.
4093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4096 # `set' quotes correctly as required by POSIX, so do not add quotes.
4097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4110 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4111 if test -w "$cache_file"; then
4112 if test "x$cache_file" != "x/dev/null"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4114 $as_echo "$as_me: updating cache $cache_file" >&6;}
4115 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4116 cat confcache
>"$cache_file"
4118 case $cache_file in #(
4120 mv -f confcache
"$cache_file"$$
&&
4121 mv -f "$cache_file"$$
"$cache_file" ;; #(
4123 mv -f confcache
"$cache_file" ;;
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4129 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4134 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4135 # Let make expand exec_prefix.
4136 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4138 # Transform confdefs.h into DEFS.
4139 # Protect against shell expansion while executing Makefile rules.
4140 # Protect against Makefile macro expansion.
4142 # If the first sed substitution is executed (which looks for macros that
4143 # take arguments), then branch to the quote section. Otherwise,
4144 # look for a macro that doesn't take arguments.
4154 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4156 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4160 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4173 DEFS
=`sed -n "$ac_script" confdefs.h`
4179 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4180 # 1. Remove the extension, and $U if already installed.
4181 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4182 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4183 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4184 # will be set to the directory where LIBOBJS objects are built.
4185 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4186 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4190 LTLIBOBJS
=$ac_ltlibobjs
4194 : "${CONFIG_STATUS=./config.status}"
4196 ac_clean_files_save
=$ac_clean_files
4197 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4199 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4201 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4203 # Generated by $as_me.
4204 # Run this file to recreate the current configuration.
4205 # Compiler output produced by configure, useful for debugging
4206 # configure, is in config.log if it exists.
4212 SHELL=\${CONFIG_SHELL-$SHELL}
4215 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4216 ## -------------------- ##
4217 ## M4sh Initialization. ##
4218 ## -------------------- ##
4220 # Be more Bourne compatible
4221 DUALCASE
=1; export DUALCASE
# for MKS sh
4222 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4225 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4226 # is contrary to our usage. Disable this feature.
4227 alias -g '${1+"$@"}'='"$@"'
4228 setopt NO_GLOB_SUBST
4230 case `(set -o) 2>/dev/null` in #(
4242 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4243 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4244 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4245 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4246 # Prefer a ksh shell builtin over an external printf program on Solaris,
4247 # but without wasting forks for bash or zsh.
4248 if test -z "$BASH_VERSION$ZSH_VERSION" \
4249 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4250 as_echo='print
-r --'
4251 as_echo_n='print
-rn --'
4252 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4253 as_echo='printf %s
\n'
4254 as_echo_n='printf %s
'
4256 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4257 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4258 as_echo_n='/usr
/ucb
/echo -n'
4260 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4261 as_echo_n_body='eval
4265 expr "X$arg" : "X\\(.*\\)$as_nl";
4266 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4268 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4270 export as_echo_n_body
4271 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4274 as_echo='sh
-c $as_echo_body as_echo
'
4277 # The user is always right.
4278 if test "${PATH_SEPARATOR+set}" != set; then
4280 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4281 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4288 # We need space, tab and new line, in precisely that order. Quoting is
4289 # there to prevent editors from complaining about space-tab.
4290 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4291 # splitting by setting IFS to empty value.)
4294 # Find who we are. Look in the path if we contain no directory separator.
4297 *[\\/]* ) as_myself=$0 ;;
4298 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4302 test -z "$as_dir" && as_dir=.
4303 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4309 # We did not find ourselves, most probably we were run as `sh COMMAND'
4310 # in which case we are not to be found in the path.
4311 if test "x$as_myself" = x
; then
4314 if test ! -f "$as_myself"; then
4315 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4319 # Unset variables that we do not need and which cause bugs (e.g. in
4320 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4321 # suppresses any "Segmentation fault" message there. '((' could
4322 # trigger a bug in pdksh 5.2.14.
4323 for as_var
in BASH_ENV ENV MAIL MAILPATH
4324 do eval test x\
${$as_var+set} = xset \
4325 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4338 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4341 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4342 # ----------------------------------------
4343 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4344 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4345 # script with STATUS, using 1 if that was 0.
4348 as_status
=$1; test $as_status -eq 0 && as_status
=1
4350 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4351 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4353 $as_echo "$as_me: error: $2" >&2
4354 as_fn_exit
$as_status
4358 # as_fn_set_status STATUS
4359 # -----------------------
4360 # Set $? to STATUS, without forking.
4364 } # as_fn_set_status
4368 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4378 # Portably unset VAR.
4381 { eval $1=; unset $1;}
4383 as_unset
=as_fn_unset
4384 # as_fn_append VAR VALUE
4385 # ----------------------
4386 # Append the text in VALUE to the end of the definition contained in VAR. Take
4387 # advantage of any shell optimizations that allow amortized linear growth over
4388 # repeated appends, instead of the typical quadratic growth present in naive
4390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4391 eval 'as_fn_append ()
4402 # as_fn_arith ARG...
4403 # ------------------
4404 # Perform arithmetic evaluation on the ARGs, and store the result in the
4405 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4406 # must be portable across $(()) and expr.
4407 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4408 eval 'as_fn_arith ()
4415 as_val
=`expr "$@" || test $? -eq 1`
4420 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4421 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4427 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4428 as_basename
=basename
4433 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4439 as_me
=`$as_basename -- "$0" ||
4440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4441 X"$0" : 'X\(//\)$' \| \
4442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4444 sed '/^.*\/\([^/][^/]*\)\/*$/{
4458 # Avoid depending upon Character Ranges.
4459 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4460 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4461 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4462 as_cr_digits
='0123456789'
4463 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4465 ECHO_C
= ECHO_N
= ECHO_T
=
4466 case `echo -n x` in #(((((
4468 case `echo 'xy\c'` in
4469 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4471 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4478 rm -f conf$$ conf$$.exe conf$$.
file
4479 if test -d conf$$.dir
; then
4480 rm -f conf$$.dir
/conf$$.
file
4483 mkdir conf$$.dir
2>/dev
/null
4485 if (echo >conf$$.
file) 2>/dev
/null
; then
4486 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4488 # ... but there are two gotchas:
4489 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4490 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4491 # In both cases, we have to default to `cp -pR'.
4492 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4494 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4502 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4503 rmdir conf$$.dir
2>/dev
/null
4508 # Create "$as_dir" as a directory, including parents if necessary.
4513 -*) as_dir
=.
/$as_dir;;
4515 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4519 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4520 *) as_qdir
=$as_dir;;
4522 as_dirs
="'$as_qdir' $as_dirs"
4523 as_dir
=`$as_dirname -- "$as_dir" ||
4524 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4525 X"$as_dir" : 'X\(//\)[^/]' \| \
4526 X"$as_dir" : 'X\(//\)$' \| \
4527 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4528 $as_echo X"$as_dir" |
4529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4546 test -d "$as_dir" && break
4548 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4549 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4553 if mkdir
-p .
2>/dev
/null
; then
4554 as_mkdir_p
='mkdir -p "$as_dir"'
4556 test -d .
/-p && rmdir .
/-p
4561 # as_fn_executable_p FILE
4562 # -----------------------
4563 # Test if FILE is an executable regular file.
4564 as_fn_executable_p
()
4566 test -f "$1" && test -x "$1"
4567 } # as_fn_executable_p
4569 as_executable_p
=as_fn_executable_p
4571 # Sed expression to map a string onto a valid CPP name.
4572 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4574 # Sed expression to map a string onto a valid variable name.
4575 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4579 ## ----------------------------------- ##
4580 ## Main body of $CONFIG_STATUS script. ##
4581 ## ----------------------------------- ##
4583 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4586 # Save the log message, to keep $0 and so on meaningful, and to
4587 # report actual input values of CONFIG_FILES etc. instead of their
4588 # values after options handling.
4590 This file was extended by $as_me, which was
4591 generated by GNU Autoconf 2.69. Invocation command line was
4593 CONFIG_FILES = $CONFIG_FILES
4594 CONFIG_HEADERS = $CONFIG_HEADERS
4595 CONFIG_LINKS = $CONFIG_LINKS
4596 CONFIG_COMMANDS = $CONFIG_COMMANDS
4599 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4604 case $ac_config_files in *"
4605 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4611 # Files that config.status was made for.
4612 config_files="$ac_config_files"
4616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4618 \`$as_me' instantiates files and other configuration actions
4619 from templates according to the current configuration. Unless the files
4620 and actions are specified as TAGs, all are instantiated by default.
4622 Usage: $0 [OPTION]... [TAG]...
4624 -h, --help print this help, then exit
4625 -V, --version print version number and configuration settings, then exit
4626 --config print configuration, then exit
4627 -q, --quiet, --silent
4628 do not print progress messages
4629 -d, --debug don't remove temporary files
4630 --recheck update $as_me by reconfiguring in the same conditions
4631 --file=FILE[:TEMPLATE]
4632 instantiate the configuration file FILE
4634 Configuration files:
4637 Report bugs to the package provider."
4640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4641 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4644 configured by $0, generated by GNU Autoconf 2.69,
4645 with options \\"\$ac_cs_config\\"
4647 Copyright (C) 2012 Free Software Foundation, Inc.
4648 This config.status script is free software; the Free Software Foundation
4649 gives unlimited permission to copy, distribute and modify it."
4653 test -n "\$AWK" || AWK=awk
4656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4657 # The default lists apply if the user does not specify any file.
4663 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4664 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4668 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4680 # Handling of the options.
4681 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4683 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4684 $as_echo "$ac_cs_version"; exit ;;
4685 --config |
--confi |
--conf |
--con |
--co |
--c )
4686 $as_echo "$ac_cs_config"; exit ;;
4687 --debug |
--debu |
--deb |
--de |
--d |
-d )
4689 --file |
--fil |
--fi |
--f )
4692 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4693 '') as_fn_error $?
"missing file argument" ;;
4695 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4696 ac_need_defaults
=false
;;
4697 --he |
--h |
--help |
--hel |
-h )
4698 $as_echo "$ac_cs_usage"; exit ;;
4699 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4700 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4704 -*) as_fn_error $?
"unrecognized option: \`$1'
4705 Try \`$0 --help' for more information." ;;
4707 *) as_fn_append ac_config_targets
" $1"
4708 ac_need_defaults
=false
;;
4714 ac_configure_extra_args
=
4716 if $ac_cs_silent; then
4718 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4723 if \$ac_cs_recheck; then
4724 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4726 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4727 CONFIG_SHELL='$SHELL'
4733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4737 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4738 ## Running $as_me. ##
4744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4749 # Handling of arguments.
4750 for ac_config_target
in $ac_config_targets
4752 case $ac_config_target in
4753 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4755 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4760 # If the user did not use the arguments to specify the items to instantiate,
4761 # then the envvar interface is used. Set only those that are not.
4762 # We use the long form for the default assignment because of an extremely
4763 # bizarre bug on SunOS 4.1.3.
4764 if $ac_need_defaults; then
4765 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4768 # Have a temporary directory for convenience. Make it in the build tree
4769 # simply because there is no reason against having it here, and in addition,
4770 # creating and moving files from /tmp can sometimes cause problems.
4771 # Hook for its removal unless debugging.
4772 # Note that there is a small window in which the directory will not be cleaned:
4773 # after its creation but before its name has been assigned to `$tmp'.
4777 trap 'exit_status=$?
4779 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4781 trap 'as_fn_exit 1' 1 2 13 15
4783 # Create a (secure) tmp directory for tmp files.
4786 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4790 tmp
=.
/conf$$
-$RANDOM
4791 (umask 077 && mkdir
"$tmp")
4792 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4795 # Set up the scripts for CONFIG_FILES section.
4796 # No need to generate them if there are no CONFIG_FILES.
4797 # This happens for instance with `./config.status config.h'.
4798 if test -n "$CONFIG_FILES"; then
4801 ac_cr
=`echo X | tr X '\015'`
4802 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4803 # But we know of no other shell where ac_cr would be empty at this
4804 # point, so we can use a bashism as a fallback.
4805 if test "x$ac_cr" = x
; then
4806 eval ac_cr
=\$
\'\\r
\'
4808 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4809 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4815 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4820 echo "cat >conf$$subs.awk <<_ACEOF" &&
4821 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4824 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4825 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4827 for ac_last_try in false false false false false :; do
4828 . ./conf$$subs.sh ||
4829 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4831 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4832 if test $ac_delim_n = $ac_delim_num; then
4834 elif $ac_last_try; then
4835 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4837 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4843 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4847 s/^/S["/; s
/!.
*/"]=/
4857 s/\(.\{148\}\)..*/\1/
4859 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4864 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4871 s/\(.\{148\}\)..*/\1/
4873 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4877 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4882 ' <conf$$subs.awk | sed '
4887 ' >>$CONFIG_STATUS || ac_write_fail=1
4888 rm -f conf$$subs.awk
4889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4891 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4892 for (key in S) S_is_set[key] = 1
4898 nfields = split(line, field, "@
")
4900 len = length(field[1])
4901 for (i = 2; i < nfields; i++) {
4903 keylen = length(key)
4904 if (S_is_set[key]) {
4906 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4907 len += length(value) + length(field[++i])
4918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4919 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4920 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4923 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4924 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4927 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4928 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4929 # trailing colons and then remove the whole line if VPATH becomes empty
4930 # (actually we leave an empty line to preserve line numbers).
4931 if test "x
$srcdir" = x.; then
4932 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4951 fi # test -n "$CONFIG_FILES"
4954 eval set X " :F
$CONFIG_FILES "
4959 :[FHLC]) ac_mode=$ac_tag; continue;;
4961 case $ac_mode$ac_tag in
4963 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4964 :[FH]-) ac_tag=-:-;;
4965 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4982 -) ac_f="$ac_tmp/stdin";;
4983 *) # Look for the file first in the build tree, then in the source tree
4984 # (if the path is not absolute). The absolute path cannot be DOS-style,
4985 # because $ac_f cannot contain `:'.
4989 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4991 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4993 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4994 as_fn_append ac_file_inputs " '$ac_f'"
4997 # Let's still pretend it is `configure' which instantiates (i.e., don't
4998 # use $as_me), people would be surprised to read:
4999 # /* config.h. Generated by config.status. */
5000 configure_input='Generated from '`
5001 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5003 if test x"$ac_file" != x-; then
5004 configure_input="$ac_file.
$configure_input"
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5006 $as_echo "$as_me: creating
$ac_file" >&6;}
5008 # Neutralize special characters interpreted by sed in replacement strings.
5009 case $configure_input in #(
5010 *\&* | *\|* | *\\* )
5011 ac_sed_conf_input=`$as_echo "$configure_input" |
5012 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5013 *) ac_sed_conf_input=$configure_input;;
5017 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5018 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5023 ac_dir=`$as_dirname -- "$ac_file" ||
5024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5025 X"$ac_file" : 'X\(//\)[^/]' \| \
5026 X"$ac_file" : 'X\(//\)$' \| \
5027 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5028 $as_echo X"$ac_file" |
5029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5046 as_dir="$ac_dir"; as_fn_mkdir_p
5050 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5052 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5053 # A "..
" for each directory in $ac_dir_suffix.
5054 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5055 case $ac_top_builddir_sub in
5056 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5057 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5060 ac_abs_top_builddir=$ac_pwd
5061 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5062 # for backward compatibility:
5063 ac_top_builddir=$ac_top_build_prefix
5066 .) # We are building in place.
5068 ac_top_srcdir=$ac_top_builddir_sub
5069 ac_abs_top_srcdir=$ac_pwd ;;
5070 [\\/]* | ?:[\\/]* ) # Absolute name.
5071 ac_srcdir=$srcdir$ac_dir_suffix;
5072 ac_top_srcdir=$srcdir
5073 ac_abs_top_srcdir=$srcdir ;;
5075 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5076 ac_top_srcdir=$ac_top_build_prefix$srcdir
5077 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5079 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5091 # If the template does not know about datarootdir, expand it.
5092 # FIXME: This hack should be removed a few years after 2.60.
5093 ac_datarootdir_hack=; ac_datarootdir_seen=
5104 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5105 *datarootdir*) ac_datarootdir_seen=yes;;
5106 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5108 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5111 ac_datarootdir_hack='
5112 s&@datadir@&$datadir&g
5113 s&@docdir@&$docdir&g
5114 s&@infodir@&$infodir&g
5115 s&@localedir@&$localedir&g
5116 s&@mandir@&$mandir&g
5117 s&\\\${datarootdir}&$datarootdir&g' ;;
5121 # Neutralize VPATH when `$srcdir' = `.'.
5122 # Shell code in configure.ac might set extrasub.
5123 # FIXME: do we really want to maintain this feature?
5124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5125 ac_sed_extra="$ac_vpsub
5128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5130 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5131 s|@configure_input@|
$ac_sed_conf_input|
;t t
5132 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5133 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5134 s
&@srcdir@
&$ac_srcdir&;t t
5135 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5136 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5137 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5138 s
&@builddir@
&$ac_builddir&;t t
5139 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5140 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5141 $ac_datarootdir_hack
5143 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5144 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5146 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5147 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5148 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5149 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5151 which seems to be undefined. Please make sure it is defined" >&5
5152 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5153 which seems to be undefined. Please make sure it is defined" >&2;}
5155 rm -f "$ac_tmp/stdin"
5157 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5158 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5160 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5172 ac_clean_files=$ac_clean_files_save
5174 test $ac_write_fail = 0 ||
5175 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5178 # configure is writing to config.log, and then calls config.status.
5179 # config.status does its own redirection, appending to config.log.
5180 # Unfortunately, on DOS this fails, as config.log is still kept open
5181 # by configure, so config.status won't be able to
write to it
; its
5182 # output is simply discarded. So we exec the FD to /dev/null,
5183 # effectively closing config.log, so it can be properly (re)opened and
5184 # appended to by config.status. When coming back to configure, we
5185 # need to make the FD available again.
5186 if test "$no_create" != yes; then
5188 ac_config_status_args
=
5189 test "$silent" = yes &&
5190 ac_config_status_args
="$ac_config_status_args --quiet"
5192 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5194 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5195 # would make configure fail if this is the last instruction.
5196 $ac_cs_success || as_fn_exit
1
5198 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5200 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}