use AROS_BUILDCMD to append the version to the command.
[AROS.git] / features
blob89563fa6ea4a915f2dba4312652abb1748060e54
1 #! /bin/sh
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 :
18 emulate sh
19 NULLCMD=:
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+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
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
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
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'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
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.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
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
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
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 || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
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.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
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
156 as_fn_exit 255
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 :
162 emulate sh
163 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
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; }
183 exitcode=0
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 :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || 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 :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
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 :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
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
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
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.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
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
256 exit 255
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."
265 else
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."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
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 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
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
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
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 :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
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.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
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
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
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. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
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).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
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
521 as_ln_s='ln -s'
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 ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
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"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
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
557 exec 6>&1
559 # Name of the host.
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`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="mmakefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
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
592 aros_cflags_overflow
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
602 aros_cflags_comment
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
612 aros_cflags_switch
613 aros_cflags_cpp
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
620 aros_cflags_format
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
627 aros_cflags_unused
628 aros_cflags_nonnull_compare
629 aros_cflags_misleading_indentation
630 aros_cflags_format_security
631 aros_cflags_strict_overflow
632 aros_cflags_strict_prototypes
633 aros_cflags_enum_compare
634 aros_cflags_array_bounds
635 aros_cflags_strict_aliasing
636 aros_cflags_unused_but_set_variable
637 aros_cflags_unknown_warning_option
638 aros_cflags_unused_command_line_argument
639 aros_cflags_iquote_end
640 aros_cflags_iquote
641 aros_cflags_loop_strip_mine
642 aros_cflags_loop_interchange
643 aros_cflags_loop_block
644 aros_cflags_lto
645 OBJEXT
646 EXEEXT
647 ac_ct_CC
648 CPPFLAGS
649 LDFLAGS
650 CFLAGS
652 target_alias
653 host_alias
654 build_alias
655 LIBS
656 ECHO_T
657 ECHO_N
658 ECHO_C
659 DEFS
660 mandir
661 localedir
662 libdir
663 psdir
664 pdfdir
665 dvidir
666 htmldir
667 infodir
668 docdir
669 oldincludedir
670 includedir
671 localstatedir
672 sharedstatedir
673 sysconfdir
674 datadir
675 datarootdir
676 libexecdir
677 sbindir
678 bindir
679 program_transform_name
680 prefix
681 exec_prefix
682 PACKAGE_URL
683 PACKAGE_BUGREPORT
684 PACKAGE_STRING
685 PACKAGE_VERSION
686 PACKAGE_TARNAME
687 PACKAGE_NAME
688 PATH_SEPARATOR
689 SHELL'
690 ac_subst_files=''
691 ac_user_opts='
692 enable_option_checking
693 with_config_dir
695 ac_precious_vars='build_alias
696 host_alias
697 target_alias
699 CFLAGS
700 LDFLAGS
701 LIBS
702 CPPFLAGS'
705 # Initialize some variables set by options.
706 ac_init_help=
707 ac_init_version=false
708 ac_unrecognized_opts=
709 ac_unrecognized_sep=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
712 cache_file=/dev/null
713 exec_prefix=NONE
714 no_create=
715 no_recursion=
716 prefix=NONE
717 program_prefix=NONE
718 program_suffix=NONE
719 program_transform_name=s,x,x,
720 silent=
721 site=
722 srcdir=
723 verbose=
724 x_includes=NONE
725 x_libraries=NONE
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE}'
744 infodir='${datarootdir}/info'
745 htmldir='${docdir}'
746 dvidir='${docdir}'
747 pdfdir='${docdir}'
748 psdir='${docdir}'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
753 ac_prev=
754 ac_dashdash=
755 for ac_option
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\$ac_option
760 ac_prev=
761 continue
764 case $ac_option in
765 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766 *=) ac_optarg= ;;
767 *) ac_optarg=yes ;;
768 esac
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
774 ac_dashdash=yes ;;
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
777 ac_prev=bindir ;;
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
779 bindir=$ac_optarg ;;
781 -build | --build | --buil | --bui | --bu)
782 ac_prev=build_alias ;;
783 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784 build_alias=$ac_optarg ;;
786 -cache-file | --cache-file | --cache-fil | --cache-fi \
787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 ac_prev=cache_file ;;
789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791 cache_file=$ac_optarg ;;
793 --config-cache | -C)
794 cache_file=config.cache ;;
796 -datadir | --datadir | --datadi | --datad)
797 ac_prev=datadir ;;
798 -datadir=* | --datadir=* | --datadi=* | --datad=*)
799 datadir=$ac_optarg ;;
801 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802 | --dataroo | --dataro | --datar)
803 ac_prev=datarootdir ;;
804 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806 datarootdir=$ac_optarg ;;
808 -disable-* | --disable-*)
809 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812 as_fn_error $? "invalid feature name: $ac_useropt"
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
817 "enable_$ac_useropt"
818 "*) ;;
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
821 esac
822 eval enable_$ac_useropt=no ;;
824 -docdir | --docdir | --docdi | --doc | --do)
825 ac_prev=docdir ;;
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827 docdir=$ac_optarg ;;
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
830 ac_prev=dvidir ;;
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832 dvidir=$ac_optarg ;;
834 -enable-* | --enable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
843 "enable_$ac_useropt"
844 "*) ;;
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
847 esac
848 eval enable_$ac_useropt=\$ac_optarg ;;
850 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
852 | --exec | --exe | --ex)
853 ac_prev=exec_prefix ;;
854 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
855 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
856 | --exec=* | --exe=* | --ex=*)
857 exec_prefix=$ac_optarg ;;
859 -gas | --gas | --ga | --g)
860 # Obsolete; use --with-gas.
861 with_gas=yes ;;
863 -help | --help | --hel | --he | -h)
864 ac_init_help=long ;;
865 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
866 ac_init_help=recursive ;;
867 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
868 ac_init_help=short ;;
870 -host | --host | --hos | --ho)
871 ac_prev=host_alias ;;
872 -host=* | --host=* | --hos=* | --ho=*)
873 host_alias=$ac_optarg ;;
875 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
876 ac_prev=htmldir ;;
877 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
878 | --ht=*)
879 htmldir=$ac_optarg ;;
881 -includedir | --includedir | --includedi | --included | --include \
882 | --includ | --inclu | --incl | --inc)
883 ac_prev=includedir ;;
884 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
885 | --includ=* | --inclu=* | --incl=* | --inc=*)
886 includedir=$ac_optarg ;;
888 -infodir | --infodir | --infodi | --infod | --info | --inf)
889 ac_prev=infodir ;;
890 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
891 infodir=$ac_optarg ;;
893 -libdir | --libdir | --libdi | --libd)
894 ac_prev=libdir ;;
895 -libdir=* | --libdir=* | --libdi=* | --libd=*)
896 libdir=$ac_optarg ;;
898 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
899 | --libexe | --libex | --libe)
900 ac_prev=libexecdir ;;
901 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
902 | --libexe=* | --libex=* | --libe=*)
903 libexecdir=$ac_optarg ;;
905 -localedir | --localedir | --localedi | --localed | --locale)
906 ac_prev=localedir ;;
907 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
908 localedir=$ac_optarg ;;
910 -localstatedir | --localstatedir | --localstatedi | --localstated \
911 | --localstate | --localstat | --localsta | --localst | --locals)
912 ac_prev=localstatedir ;;
913 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
914 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
915 localstatedir=$ac_optarg ;;
917 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
918 ac_prev=mandir ;;
919 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
920 mandir=$ac_optarg ;;
922 -nfp | --nfp | --nf)
923 # Obsolete; use --without-fp.
924 with_fp=no ;;
926 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927 | --no-cr | --no-c | -n)
928 no_create=yes ;;
930 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
931 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
932 no_recursion=yes ;;
934 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
935 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
936 | --oldin | --oldi | --old | --ol | --o)
937 ac_prev=oldincludedir ;;
938 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
939 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
940 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
941 oldincludedir=$ac_optarg ;;
943 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
944 ac_prev=prefix ;;
945 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
946 prefix=$ac_optarg ;;
948 -program-prefix | --program-prefix | --program-prefi | --program-pref \
949 | --program-pre | --program-pr | --program-p)
950 ac_prev=program_prefix ;;
951 -program-prefix=* | --program-prefix=* | --program-prefi=* \
952 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
953 program_prefix=$ac_optarg ;;
955 -program-suffix | --program-suffix | --program-suffi | --program-suff \
956 | --program-suf | --program-su | --program-s)
957 ac_prev=program_suffix ;;
958 -program-suffix=* | --program-suffix=* | --program-suffi=* \
959 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
960 program_suffix=$ac_optarg ;;
962 -program-transform-name | --program-transform-name \
963 | --program-transform-nam | --program-transform-na \
964 | --program-transform-n | --program-transform- \
965 | --program-transform | --program-transfor \
966 | --program-transfo | --program-transf \
967 | --program-trans | --program-tran \
968 | --progr-tra | --program-tr | --program-t)
969 ac_prev=program_transform_name ;;
970 -program-transform-name=* | --program-transform-name=* \
971 | --program-transform-nam=* | --program-transform-na=* \
972 | --program-transform-n=* | --program-transform-=* \
973 | --program-transform=* | --program-transfor=* \
974 | --program-transfo=* | --program-transf=* \
975 | --program-trans=* | --program-tran=* \
976 | --progr-tra=* | --program-tr=* | --program-t=*)
977 program_transform_name=$ac_optarg ;;
979 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
980 ac_prev=pdfdir ;;
981 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
982 pdfdir=$ac_optarg ;;
984 -psdir | --psdir | --psdi | --psd | --ps)
985 ac_prev=psdir ;;
986 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
987 psdir=$ac_optarg ;;
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
991 silent=yes ;;
993 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
994 ac_prev=sbindir ;;
995 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
996 | --sbi=* | --sb=*)
997 sbindir=$ac_optarg ;;
999 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1000 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1001 | --sharedst | --shareds | --shared | --share | --shar \
1002 | --sha | --sh)
1003 ac_prev=sharedstatedir ;;
1004 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1005 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1006 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1007 | --sha=* | --sh=*)
1008 sharedstatedir=$ac_optarg ;;
1010 -site | --site | --sit)
1011 ac_prev=site ;;
1012 -site=* | --site=* | --sit=*)
1013 site=$ac_optarg ;;
1015 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1016 ac_prev=srcdir ;;
1017 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1018 srcdir=$ac_optarg ;;
1020 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1021 | --syscon | --sysco | --sysc | --sys | --sy)
1022 ac_prev=sysconfdir ;;
1023 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1024 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1025 sysconfdir=$ac_optarg ;;
1027 -target | --target | --targe | --targ | --tar | --ta | --t)
1028 ac_prev=target_alias ;;
1029 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1030 target_alias=$ac_optarg ;;
1032 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1033 verbose=yes ;;
1035 -version | --version | --versio | --versi | --vers | -V)
1036 ac_init_version=: ;;
1038 -with-* | --with-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid package name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "with_$ac_useropt"
1048 "*) ;;
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1051 esac
1052 eval with_$ac_useropt=\$ac_optarg ;;
1054 -without-* | --without-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid package name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "with_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval with_$ac_useropt=no ;;
1070 --x)
1071 # Obsolete; use --with-x.
1072 with_x=yes ;;
1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075 | --x-incl | --x-inc | --x-in | --x-i)
1076 ac_prev=x_includes ;;
1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079 x_includes=$ac_optarg ;;
1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083 ac_prev=x_libraries ;;
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086 x_libraries=$ac_optarg ;;
1088 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1089 Try \`$0 --help' for more information"
1092 *=*)
1093 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1094 # Reject names that are not valid shell variable names.
1095 case $ac_envvar in #(
1096 '' | [0-9]* | *[!_$as_cr_alnum]* )
1097 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1098 esac
1099 eval $ac_envvar=\$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1110 esac
1111 done
1113 if test -n "$ac_prev"; then
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115 as_fn_error $? "missing argument to $ac_option"
1118 if test -n "$ac_unrecognized_opts"; then
1119 case $enable_option_checking in
1120 no) ;;
1121 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1122 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123 esac
1126 # Check all directory arguments for consistency.
1127 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1132 eval ac_val=\$$ac_var
1133 # Remove trailing slashes.
1134 case $ac_val in
1135 */ )
1136 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1137 eval $ac_var=\$ac_val;;
1138 esac
1139 # Be sure to have absolute directory names.
1140 case $ac_val in
1141 [\\/$]* | ?:[\\/]* ) continue;;
1142 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1143 esac
1144 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1145 done
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1150 build=$build_alias
1151 host=$host_alias
1152 target=$target_alias
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x; then
1156 if test "x$build_alias" = x; then
1157 cross_compiling=maybe
1158 elif test "x$build_alias" != "x$host_alias"; then
1159 cross_compiling=yes
1163 ac_tool_prefix=
1164 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1166 test "$silent" = yes && exec 6>/dev/null
1169 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1170 ac_ls_di=`ls -di .` &&
1171 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1172 as_fn_error $? "working directory cannot be determined"
1173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1174 as_fn_error $? "pwd does not report name of working directory"
1177 # Find the source files, if location was not specified.
1178 if test -z "$srcdir"; then
1179 ac_srcdir_defaulted=yes
1180 # Try the directory containing this script, then the parent directory.
1181 ac_confdir=`$as_dirname -- "$as_myself" ||
1182 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1183 X"$as_myself" : 'X\(//\)[^/]' \| \
1184 X"$as_myself" : 'X\(//\)$' \| \
1185 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1186 $as_echo X"$as_myself" |
1187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188 s//\1/
1191 /^X\(\/\/\)[^/].*/{
1192 s//\1/
1195 /^X\(\/\/\)$/{
1196 s//\1/
1199 /^X\(\/\).*/{
1200 s//\1/
1203 s/.*/./; q'`
1204 srcdir=$ac_confdir
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 srcdir=..
1208 else
1209 ac_srcdir_defaulted=no
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1213 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1216 ac_abs_confdir=`(
1217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1218 pwd)`
1219 # When building in place, set srcdir=.
1220 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 srcdir=.
1223 # Remove unnecessary trailing slashes from srcdir.
1224 # Double slashes in file names in object file debugging info
1225 # mess up M-x gdb in Emacs.
1226 case $srcdir in
1227 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228 esac
1229 for ac_var in $ac_precious_vars; do
1230 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_env_${ac_var}_value=\$${ac_var}
1232 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1234 done
1237 # Report the --help message.
1239 if test "$ac_init_help" = "long"; then
1240 # Omit some internal or obsolete options to make the list less imposing.
1241 # This message is too long to be a string in the A/UX 3.1 sh.
1242 cat <<_ACEOF
1243 \`configure' configures this package to adapt to many kinds of systems.
1245 Usage: $0 [OPTION]... [VAR=VALUE]...
1247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248 VAR=VALUE. See below for descriptions of some of the useful variables.
1250 Defaults for the options are specified in brackets.
1252 Configuration:
1253 -h, --help display this help and exit
1254 --help=short display options specific to this package
1255 --help=recursive display the short help of all the included packages
1256 -V, --version display version information and exit
1257 -q, --quiet, --silent do not print \`checking ...' messages
1258 --cache-file=FILE cache test results in FILE [disabled]
1259 -C, --config-cache alias for \`--cache-file=config.cache'
1260 -n, --no-create do not create output files
1261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1263 Installation directories:
1264 --prefix=PREFIX install architecture-independent files in PREFIX
1265 [$ac_default_prefix]
1266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 [PREFIX]
1269 By default, \`make install' will install all the files in
1270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272 for instance \`--prefix=\$HOME'.
1274 For better control, use the options below.
1276 Fine tuning of the installation directories:
1277 --bindir=DIR user executables [EPREFIX/bin]
1278 --sbindir=DIR system admin executables [EPREFIX/sbin]
1279 --libexecdir=DIR program executables [EPREFIX/libexec]
1280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1296 _ACEOF
1298 cat <<\_ACEOF
1299 _ACEOF
1302 if test -n "$ac_init_help"; then
1304 cat <<\_ACEOF
1306 Optional Packages:
1307 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1308 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1309 --with-config-dir=VERSION
1310 Location of generated target config files
1312 Some influential environment variables:
1313 CC C compiler command
1314 CFLAGS C compiler flags
1315 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1316 nonstandard directory <lib dir>
1317 LIBS libraries to pass to the linker, e.g. -l<library>
1318 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1319 you have headers in a nonstandard directory <include dir>
1321 Use these variables to override the choices made by `configure' or to help
1322 it to find libraries and programs with nonstandard names/locations.
1324 Report bugs to the package provider.
1325 _ACEOF
1326 ac_status=$?
1329 if test "$ac_init_help" = "recursive"; then
1330 # If there are subdirs, report their specific --help.
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1332 test -d "$ac_dir" ||
1333 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1334 continue
1335 ac_builddir=.
1337 case "$ac_dir" in
1338 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1341 # A ".." for each directory in $ac_dir_suffix.
1342 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1343 case $ac_top_builddir_sub in
1344 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1346 esac ;;
1347 esac
1348 ac_abs_top_builddir=$ac_pwd
1349 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1350 # for backward compatibility:
1351 ac_top_builddir=$ac_top_build_prefix
1353 case $srcdir in
1354 .) # We are building in place.
1355 ac_srcdir=.
1356 ac_top_srcdir=$ac_top_builddir_sub
1357 ac_abs_top_srcdir=$ac_pwd ;;
1358 [\\/]* | ?:[\\/]* ) # Absolute name.
1359 ac_srcdir=$srcdir$ac_dir_suffix;
1360 ac_top_srcdir=$srcdir
1361 ac_abs_top_srcdir=$srcdir ;;
1362 *) # Relative name.
1363 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1364 ac_top_srcdir=$ac_top_build_prefix$srcdir
1365 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1366 esac
1367 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1369 cd "$ac_dir" || { ac_status=$?; continue; }
1370 # Check for guested configure.
1371 if test -f "$ac_srcdir/configure.gnu"; then
1372 echo &&
1373 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1374 elif test -f "$ac_srcdir/configure"; then
1375 echo &&
1376 $SHELL "$ac_srcdir/configure" --help=recursive
1377 else
1378 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1379 fi || ac_status=$?
1380 cd "$ac_pwd" || { ac_status=$?; break; }
1381 done
1384 test -n "$ac_init_help" && exit $ac_status
1385 if $ac_init_version; then
1386 cat <<\_ACEOF
1387 configure
1388 generated by GNU Autoconf 2.69
1390 Copyright (C) 2012 Free Software Foundation, Inc.
1391 This configure script is free software; the Free Software Foundation
1392 gives unlimited permission to copy, distribute and modify it.
1393 _ACEOF
1394 exit
1397 ## ------------------------ ##
1398 ## Autoconf initialization. ##
1399 ## ------------------------ ##
1401 # ac_fn_c_try_compile LINENO
1402 # --------------------------
1403 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1404 ac_fn_c_try_compile ()
1406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1407 rm -f conftest.$ac_objext
1408 if { { ac_try="$ac_compile"
1409 case "(($ac_try" in
1410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1411 *) ac_try_echo=$ac_try;;
1412 esac
1413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1414 $as_echo "$ac_try_echo"; } >&5
1415 (eval "$ac_compile") 2>conftest.err
1416 ac_status=$?
1417 if test -s conftest.err; then
1418 grep -v '^ *+' conftest.err >conftest.er1
1419 cat conftest.er1 >&5
1420 mv -f conftest.er1 conftest.err
1422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1423 test $ac_status = 0; } && {
1424 test -z "$ac_c_werror_flag" ||
1425 test ! -s conftest.err
1426 } && test -s conftest.$ac_objext; then :
1427 ac_retval=0
1428 else
1429 $as_echo "$as_me: failed program was:" >&5
1430 sed 's/^/| /' conftest.$ac_ext >&5
1432 ac_retval=1
1434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1435 as_fn_set_status $ac_retval
1437 } # ac_fn_c_try_compile
1438 cat >config.log <<_ACEOF
1439 This file contains any messages produced by compilers while
1440 running configure, to aid debugging if configure makes a mistake.
1442 It was created by $as_me, which was
1443 generated by GNU Autoconf 2.69. Invocation command line was
1445 $ $0 $@
1447 _ACEOF
1448 exec 5>>config.log
1450 cat <<_ASUNAME
1451 ## --------- ##
1452 ## Platform. ##
1453 ## --------- ##
1455 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1456 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1457 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1458 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1459 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1461 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1462 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1464 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1465 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1466 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1467 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1468 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1469 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1470 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1472 _ASUNAME
1474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1475 for as_dir in $PATH
1477 IFS=$as_save_IFS
1478 test -z "$as_dir" && as_dir=.
1479 $as_echo "PATH: $as_dir"
1480 done
1481 IFS=$as_save_IFS
1483 } >&5
1485 cat >&5 <<_ACEOF
1488 ## ----------- ##
1489 ## Core tests. ##
1490 ## ----------- ##
1492 _ACEOF
1495 # Keep a trace of the command line.
1496 # Strip out --no-create and --no-recursion so they do not pile up.
1497 # Strip out --silent because we don't want to record it for future runs.
1498 # Also quote any args containing shell meta-characters.
1499 # Make two passes to allow for proper duplicate-argument suppression.
1500 ac_configure_args=
1501 ac_configure_args0=
1502 ac_configure_args1=
1503 ac_must_keep_next=false
1504 for ac_pass in 1 2
1506 for ac_arg
1508 case $ac_arg in
1509 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1510 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1511 | -silent | --silent | --silen | --sile | --sil)
1512 continue ;;
1513 *\'*)
1514 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1515 esac
1516 case $ac_pass in
1517 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1519 as_fn_append ac_configure_args1 " '$ac_arg'"
1520 if test $ac_must_keep_next = true; then
1521 ac_must_keep_next=false # Got value, back to normal.
1522 else
1523 case $ac_arg in
1524 *=* | --config-cache | -C | -disable-* | --disable-* \
1525 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1526 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1527 | -with-* | --with-* | -without-* | --without-* | --x)
1528 case "$ac_configure_args0 " in
1529 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1530 esac
1532 -* ) ac_must_keep_next=true ;;
1533 esac
1535 as_fn_append ac_configure_args " '$ac_arg'"
1537 esac
1538 done
1539 done
1540 { ac_configure_args0=; unset ac_configure_args0;}
1541 { ac_configure_args1=; unset ac_configure_args1;}
1543 # When interrupted or exit'd, cleanup temporary files, and complete
1544 # config.log. We remove comments because anyway the quotes in there
1545 # would cause problems or look ugly.
1546 # WARNING: Use '\'' to represent an apostrophe within the trap.
1547 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1548 trap 'exit_status=$?
1549 # Save into config.log some information that might help in debugging.
1551 echo
1553 $as_echo "## ---------------- ##
1554 ## Cache variables. ##
1555 ## ---------------- ##"
1556 echo
1557 # The following way of writing the cache mishandles newlines in values,
1559 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1560 eval ac_val=\$$ac_var
1561 case $ac_val in #(
1562 *${as_nl}*)
1563 case $ac_var in #(
1564 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1565 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1566 esac
1567 case $ac_var in #(
1568 _ | IFS | as_nl) ;; #(
1569 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1570 *) { eval $ac_var=; unset $ac_var;} ;;
1571 esac ;;
1572 esac
1573 done
1574 (set) 2>&1 |
1575 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1576 *${as_nl}ac_space=\ *)
1577 sed -n \
1578 "s/'\''/'\''\\\\'\'''\''/g;
1579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1580 ;; #(
1582 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1584 esac |
1585 sort
1587 echo
1589 $as_echo "## ----------------- ##
1590 ## Output variables. ##
1591 ## ----------------- ##"
1592 echo
1593 for ac_var in $ac_subst_vars
1595 eval ac_val=\$$ac_var
1596 case $ac_val in
1597 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1598 esac
1599 $as_echo "$ac_var='\''$ac_val'\''"
1600 done | sort
1601 echo
1603 if test -n "$ac_subst_files"; then
1604 $as_echo "## ------------------- ##
1605 ## File substitutions. ##
1606 ## ------------------- ##"
1607 echo
1608 for ac_var in $ac_subst_files
1610 eval ac_val=\$$ac_var
1611 case $ac_val in
1612 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1613 esac
1614 $as_echo "$ac_var='\''$ac_val'\''"
1615 done | sort
1616 echo
1619 if test -s confdefs.h; then
1620 $as_echo "## ----------- ##
1621 ## confdefs.h. ##
1622 ## ----------- ##"
1623 echo
1624 cat confdefs.h
1625 echo
1627 test "$ac_signal" != 0 &&
1628 $as_echo "$as_me: caught signal $ac_signal"
1629 $as_echo "$as_me: exit $exit_status"
1630 } >&5
1631 rm -f core *.core core.conftest.* &&
1632 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1633 exit $exit_status
1635 for ac_signal in 1 2 13 15; do
1636 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1637 done
1638 ac_signal=0
1640 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1641 rm -f -r conftest* confdefs.h
1643 $as_echo "/* confdefs.h */" > confdefs.h
1645 # Predefined preprocessor variables.
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_NAME "$PACKAGE_NAME"
1649 _ACEOF
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1653 _ACEOF
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1657 _ACEOF
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_STRING "$PACKAGE_STRING"
1661 _ACEOF
1663 cat >>confdefs.h <<_ACEOF
1664 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1665 _ACEOF
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_URL "$PACKAGE_URL"
1669 _ACEOF
1672 # Let the site file select an alternate cache file if it wants to.
1673 # Prefer an explicitly selected file to automatically selected ones.
1674 ac_site_file1=NONE
1675 ac_site_file2=NONE
1676 if test -n "$CONFIG_SITE"; then
1677 # We do not want a PATH search for config.site.
1678 case $CONFIG_SITE in #((
1679 -*) ac_site_file1=./$CONFIG_SITE;;
1680 */*) ac_site_file1=$CONFIG_SITE;;
1681 *) ac_site_file1=./$CONFIG_SITE;;
1682 esac
1683 elif test "x$prefix" != xNONE; then
1684 ac_site_file1=$prefix/share/config.site
1685 ac_site_file2=$prefix/etc/config.site
1686 else
1687 ac_site_file1=$ac_default_prefix/share/config.site
1688 ac_site_file2=$ac_default_prefix/etc/config.site
1690 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1692 test "x$ac_site_file" = xNONE && continue
1693 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1695 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1696 sed 's/^/| /' "$ac_site_file" >&5
1697 . "$ac_site_file" \
1698 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1700 as_fn_error $? "failed to load site script $ac_site_file
1701 See \`config.log' for more details" "$LINENO" 5; }
1703 done
1705 if test -r "$cache_file"; then
1706 # Some versions of bash will fail to source /dev/null (special files
1707 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1708 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1710 $as_echo "$as_me: loading cache $cache_file" >&6;}
1711 case $cache_file in
1712 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1713 *) . "./$cache_file";;
1714 esac
1716 else
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1718 $as_echo "$as_me: creating cache $cache_file" >&6;}
1719 >$cache_file
1722 # Check that the precious variables saved in the cache have kept the same
1723 # value.
1724 ac_cache_corrupted=false
1725 for ac_var in $ac_precious_vars; do
1726 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1727 eval ac_new_set=\$ac_env_${ac_var}_set
1728 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1729 eval ac_new_val=\$ac_env_${ac_var}_value
1730 case $ac_old_set,$ac_new_set in
1731 set,)
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1733 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1734 ac_cache_corrupted=: ;;
1735 ,set)
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1737 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1738 ac_cache_corrupted=: ;;
1739 ,);;
1741 if test "x$ac_old_val" != "x$ac_new_val"; then
1742 # differences in whitespace do not lead to failure.
1743 ac_old_val_w=`echo x $ac_old_val`
1744 ac_new_val_w=`echo x $ac_new_val`
1745 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1747 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1748 ac_cache_corrupted=:
1749 else
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1751 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1752 eval $ac_var=\$ac_old_val
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1755 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1757 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1758 fi;;
1759 esac
1760 # Pass precious variables to config.status.
1761 if test "$ac_new_set" = set; then
1762 case $ac_new_val in
1763 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 *) ac_arg=$ac_var=$ac_new_val ;;
1765 esac
1766 case " $ac_configure_args " in
1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1768 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1769 esac
1771 done
1772 if $ac_cache_corrupted; then
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1776 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1777 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1779 ## -------------------- ##
1780 ## Main body of script. ##
1781 ## -------------------- ##
1783 ac_ext=c
1784 ac_cpp='$CPP $CPPFLAGS'
1785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1791 ac_aux_dir=
1792 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1793 if test -f "$ac_dir/install-sh"; then
1794 ac_aux_dir=$ac_dir
1795 ac_install_sh="$ac_aux_dir/install-sh -c"
1796 break
1797 elif test -f "$ac_dir/install.sh"; then
1798 ac_aux_dir=$ac_dir
1799 ac_install_sh="$ac_aux_dir/install.sh -c"
1800 break
1801 elif test -f "$ac_dir/shtool"; then
1802 ac_aux_dir=$ac_dir
1803 ac_install_sh="$ac_aux_dir/shtool install -c"
1804 break
1806 done
1807 if test -z "$ac_aux_dir"; then
1808 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1811 # These three variables are undocumented and unsupported,
1812 # and are intended to be withdrawn in a future Autoconf release.
1813 # They can cause serious problems if a builder's source tree is in a directory
1814 # whose full name contains unusual characters.
1815 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1816 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1817 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1821 AROS_BUILDDIR=`${PWDCMD-pwd}`
1822 AROS_BUILDDIR_UNIX=${PWD}
1824 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1825 SRCDIR=${srcpwd}
1827 NOLINKFLAGS="-nostdlib -nostartfiles"
1828 LDFLAGS=$NOLINKFLAGS
1829 # The first step is to find the binaries.
1830 ac_ext=c
1831 ac_cpp='$CPP $CPPFLAGS'
1832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1835 if test -n "$ac_tool_prefix"; then
1836 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1837 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1839 $as_echo_n "checking for $ac_word... " >&6; }
1840 if ${ac_cv_prog_CC+:} false; then :
1841 $as_echo_n "(cached) " >&6
1842 else
1843 if test -n "$CC"; then
1844 ac_cv_prog_CC="$CC" # Let the user override the test.
1845 else
1846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 for as_dir in $PATH
1849 IFS=$as_save_IFS
1850 test -z "$as_dir" && as_dir=.
1851 for ac_exec_ext in '' $ac_executable_extensions; do
1852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1853 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1855 break 2
1857 done
1858 done
1859 IFS=$as_save_IFS
1863 CC=$ac_cv_prog_CC
1864 if test -n "$CC"; then
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1866 $as_echo "$CC" >&6; }
1867 else
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1869 $as_echo "no" >&6; }
1874 if test -z "$ac_cv_prog_CC"; then
1875 ac_ct_CC=$CC
1876 # Extract the first word of "gcc", so it can be a program name with args.
1877 set dummy gcc; ac_word=$2
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1879 $as_echo_n "checking for $ac_word... " >&6; }
1880 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 if test -n "$ac_ct_CC"; then
1884 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1885 else
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH
1889 IFS=$as_save_IFS
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_ac_ct_CC="gcc"
1894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 break 2
1897 done
1898 done
1899 IFS=$as_save_IFS
1903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1904 if test -n "$ac_ct_CC"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1906 $as_echo "$ac_ct_CC" >&6; }
1907 else
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1909 $as_echo "no" >&6; }
1912 if test "x$ac_ct_CC" = x; then
1913 CC=""
1914 else
1915 case $cross_compiling:$ac_tool_warned in
1916 yes:)
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1919 ac_tool_warned=yes ;;
1920 esac
1921 CC=$ac_ct_CC
1923 else
1924 CC="$ac_cv_prog_CC"
1927 if test -z "$CC"; then
1928 if test -n "$ac_tool_prefix"; then
1929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1930 set dummy ${ac_tool_prefix}cc; ac_word=$2
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1932 $as_echo_n "checking for $ac_word... " >&6; }
1933 if ${ac_cv_prog_CC+:} false; then :
1934 $as_echo_n "(cached) " >&6
1935 else
1936 if test -n "$CC"; then
1937 ac_cv_prog_CC="$CC" # Let the user override the test.
1938 else
1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940 for as_dir in $PATH
1942 IFS=$as_save_IFS
1943 test -z "$as_dir" && as_dir=.
1944 for ac_exec_ext in '' $ac_executable_extensions; do
1945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_CC="${ac_tool_prefix}cc"
1947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 break 2
1950 done
1951 done
1952 IFS=$as_save_IFS
1956 CC=$ac_cv_prog_CC
1957 if test -n "$CC"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1959 $as_echo "$CC" >&6; }
1960 else
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1962 $as_echo "no" >&6; }
1968 if test -z "$CC"; then
1969 # Extract the first word of "cc", so it can be a program name with args.
1970 set dummy cc; ac_word=$2
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1972 $as_echo_n "checking for $ac_word... " >&6; }
1973 if ${ac_cv_prog_CC+:} false; then :
1974 $as_echo_n "(cached) " >&6
1975 else
1976 if test -n "$CC"; then
1977 ac_cv_prog_CC="$CC" # Let the user override the test.
1978 else
1979 ac_prog_rejected=no
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 for as_dir in $PATH
1983 IFS=$as_save_IFS
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1988 ac_prog_rejected=yes
1989 continue
1991 ac_cv_prog_CC="cc"
1992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1995 done
1996 done
1997 IFS=$as_save_IFS
1999 if test $ac_prog_rejected = yes; then
2000 # We found a bogon in the path, so make sure we never use it.
2001 set dummy $ac_cv_prog_CC
2002 shift
2003 if test $# != 0; then
2004 # We chose a different compiler from the bogus one.
2005 # However, it has the same basename, so the bogon will be chosen
2006 # first if we set CC to just the basename; use the full file name.
2007 shift
2008 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2013 CC=$ac_cv_prog_CC
2014 if test -n "$CC"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2016 $as_echo "$CC" >&6; }
2017 else
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2019 $as_echo "no" >&6; }
2024 if test -z "$CC"; then
2025 if test -n "$ac_tool_prefix"; then
2026 for ac_prog in cl.exe
2028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2031 $as_echo_n "checking for $ac_word... " >&6; }
2032 if ${ac_cv_prog_CC+:} false; then :
2033 $as_echo_n "(cached) " >&6
2034 else
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC="$CC" # Let the user override the test.
2037 else
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 for as_dir in $PATH
2041 IFS=$as_save_IFS
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2045 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 break 2
2049 done
2050 done
2051 IFS=$as_save_IFS
2055 CC=$ac_cv_prog_CC
2056 if test -n "$CC"; then
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2058 $as_echo "$CC" >&6; }
2059 else
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2061 $as_echo "no" >&6; }
2065 test -n "$CC" && break
2066 done
2068 if test -z "$CC"; then
2069 ac_ct_CC=$CC
2070 for ac_prog in cl.exe
2072 # Extract the first word of "$ac_prog", so it can be a program name with args.
2073 set dummy $ac_prog; ac_word=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2077 $as_echo_n "(cached) " >&6
2078 else
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2081 else
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 for as_dir in $PATH
2085 IFS=$as_save_IFS
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_CC="$ac_prog"
2090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2091 break 2
2093 done
2094 done
2095 IFS=$as_save_IFS
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2102 $as_echo "$ac_ct_CC" >&6; }
2103 else
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2109 test -n "$ac_ct_CC" && break
2110 done
2112 if test "x$ac_ct_CC" = x; then
2113 CC=""
2114 else
2115 case $cross_compiling:$ac_tool_warned in
2116 yes:)
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2119 ac_tool_warned=yes ;;
2120 esac
2121 CC=$ac_ct_CC
2128 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2130 as_fn_error $? "no acceptable C compiler found in \$PATH
2131 See \`config.log' for more details" "$LINENO" 5; }
2133 # Provide some information about the compiler.
2134 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2135 set X $ac_compile
2136 ac_compiler=$2
2137 for ac_option in --version -v -V -qversion; do
2138 { { ac_try="$ac_compiler $ac_option >&5"
2139 case "(($ac_try" in
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2142 esac
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2146 ac_status=$?
2147 if test -s conftest.err; then
2148 sed '10a\
2149 ... rest of stderr output deleted ...
2150 10q' conftest.err >conftest.er1
2151 cat conftest.er1 >&5
2153 rm -f conftest.er1 conftest.err
2154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2155 test $ac_status = 0; }
2156 done
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2162 main ()
2166 return 0;
2168 _ACEOF
2169 ac_clean_files_save=$ac_clean_files
2170 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2171 # Try to create an executable without -o first, disregard a.out.
2172 # It will help us diagnose broken compilers, and finding out an intuition
2173 # of exeext.
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2175 $as_echo_n "checking whether the C compiler works... " >&6; }
2176 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2178 # The possible output files:
2179 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2181 ac_rmfiles=
2182 for ac_file in $ac_files
2184 case $ac_file in
2185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2186 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2187 esac
2188 done
2189 rm -f $ac_rmfiles
2191 if { { ac_try="$ac_link_default"
2192 case "(($ac_try" in
2193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2194 *) ac_try_echo=$ac_try;;
2195 esac
2196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2197 $as_echo "$ac_try_echo"; } >&5
2198 (eval "$ac_link_default") 2>&5
2199 ac_status=$?
2200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2201 test $ac_status = 0; }; then :
2202 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2203 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2204 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2205 # so that the user can short-circuit this test for compilers unknown to
2206 # Autoconf.
2207 for ac_file in $ac_files ''
2209 test -f "$ac_file" || continue
2210 case $ac_file in
2211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2213 [ab].out )
2214 # We found the default executable, but exeext='' is most
2215 # certainly right.
2216 break;;
2217 *.* )
2218 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2219 then :; else
2220 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2222 # We set ac_cv_exeext here because the later test for it is not
2223 # safe: cross compilers may not add the suffix if given an `-o'
2224 # argument, so we may need to know it at that point already.
2225 # Even if this section looks crufty: it has the advantage of
2226 # actually working.
2227 break;;
2229 break;;
2230 esac
2231 done
2232 test "$ac_cv_exeext" = no && ac_cv_exeext=
2234 else
2235 ac_file=''
2237 if test -z "$ac_file"; then :
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2239 $as_echo "no" >&6; }
2240 $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2245 as_fn_error 77 "C compiler cannot create executables
2246 See \`config.log' for more details" "$LINENO" 5; }
2247 else
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2249 $as_echo "yes" >&6; }
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2252 $as_echo_n "checking for C compiler default output file name... " >&6; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2254 $as_echo "$ac_file" >&6; }
2255 ac_exeext=$ac_cv_exeext
2257 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2258 ac_clean_files=$ac_clean_files_save
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2260 $as_echo_n "checking for suffix of executables... " >&6; }
2261 if { { ac_try="$ac_link"
2262 case "(($ac_try" in
2263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2264 *) ac_try_echo=$ac_try;;
2265 esac
2266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2267 $as_echo "$ac_try_echo"; } >&5
2268 (eval "$ac_link") 2>&5
2269 ac_status=$?
2270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271 test $ac_status = 0; }; then :
2272 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2273 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2274 # work properly (i.e., refer to `conftest.exe'), while it won't with
2275 # `rm'.
2276 for ac_file in conftest.exe conftest conftest.*; do
2277 test -f "$ac_file" || continue
2278 case $ac_file in
2279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2280 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2281 break;;
2282 * ) break;;
2283 esac
2284 done
2285 else
2286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2288 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2289 See \`config.log' for more details" "$LINENO" 5; }
2291 rm -f conftest conftest$ac_cv_exeext
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2293 $as_echo "$ac_cv_exeext" >&6; }
2295 rm -f conftest.$ac_ext
2296 EXEEXT=$ac_cv_exeext
2297 ac_exeext=$EXEEXT
2298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299 /* end confdefs.h. */
2300 #include <stdio.h>
2302 main ()
2304 FILE *f = fopen ("conftest.out", "w");
2305 return ferror (f) || fclose (f) != 0;
2308 return 0;
2310 _ACEOF
2311 ac_clean_files="$ac_clean_files conftest.out"
2312 # Check that the compiler produces executables we can run. If not, either
2313 # the compiler is broken, or we cross compile.
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2315 $as_echo_n "checking whether we are cross compiling... " >&6; }
2316 if test "$cross_compiling" != yes; then
2317 { { ac_try="$ac_link"
2318 case "(($ac_try" in
2319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2320 *) ac_try_echo=$ac_try;;
2321 esac
2322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2323 $as_echo "$ac_try_echo"; } >&5
2324 (eval "$ac_link") 2>&5
2325 ac_status=$?
2326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2327 test $ac_status = 0; }
2328 if { ac_try='./conftest$ac_cv_exeext'
2329 { { case "(($ac_try" in
2330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2331 *) ac_try_echo=$ac_try;;
2332 esac
2333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2334 $as_echo "$ac_try_echo"; } >&5
2335 (eval "$ac_try") 2>&5
2336 ac_status=$?
2337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2338 test $ac_status = 0; }; }; then
2339 cross_compiling=no
2340 else
2341 if test "$cross_compiling" = maybe; then
2342 cross_compiling=yes
2343 else
2344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2346 as_fn_error $? "cannot run C compiled programs.
2347 If you meant to cross compile, use \`--host'.
2348 See \`config.log' for more details" "$LINENO" 5; }
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2353 $as_echo "$cross_compiling" >&6; }
2355 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2356 ac_clean_files=$ac_clean_files_save
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2358 $as_echo_n "checking for suffix of object files... " >&6; }
2359 if ${ac_cv_objext+:} false; then :
2360 $as_echo_n "(cached) " >&6
2361 else
2362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363 /* end confdefs.h. */
2366 main ()
2370 return 0;
2372 _ACEOF
2373 rm -f conftest.o conftest.obj
2374 if { { ac_try="$ac_compile"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381 (eval "$ac_compile") 2>&5
2382 ac_status=$?
2383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2384 test $ac_status = 0; }; then :
2385 for ac_file in conftest.o conftest.obj conftest.*; do
2386 test -f "$ac_file" || continue;
2387 case $ac_file in
2388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2389 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2390 break;;
2391 esac
2392 done
2393 else
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2399 as_fn_error $? "cannot compute suffix of object files: cannot compile
2400 See \`config.log' for more details" "$LINENO" 5; }
2402 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2405 $as_echo "$ac_cv_objext" >&6; }
2406 OBJEXT=$ac_cv_objext
2407 ac_objext=$OBJEXT
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2409 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2410 if ${ac_cv_c_compiler_gnu+:} false; then :
2411 $as_echo_n "(cached) " >&6
2412 else
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2417 main ()
2419 #ifndef __GNUC__
2420 choke me
2421 #endif
2424 return 0;
2426 _ACEOF
2427 if ac_fn_c_try_compile "$LINENO"; then :
2428 ac_compiler_gnu=yes
2429 else
2430 ac_compiler_gnu=no
2432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2433 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2437 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2438 if test $ac_compiler_gnu = yes; then
2439 GCC=yes
2440 else
2441 GCC=
2443 ac_test_CFLAGS=${CFLAGS+set}
2444 ac_save_CFLAGS=$CFLAGS
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2446 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2447 if ${ac_cv_prog_cc_g+:} false; then :
2448 $as_echo_n "(cached) " >&6
2449 else
2450 ac_save_c_werror_flag=$ac_c_werror_flag
2451 ac_c_werror_flag=yes
2452 ac_cv_prog_cc_g=no
2453 CFLAGS="-g"
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 main ()
2462 return 0;
2464 _ACEOF
2465 if ac_fn_c_try_compile "$LINENO"; then :
2466 ac_cv_prog_cc_g=yes
2467 else
2468 CFLAGS=""
2469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2470 /* end confdefs.h. */
2473 main ()
2477 return 0;
2479 _ACEOF
2480 if ac_fn_c_try_compile "$LINENO"; then :
2482 else
2483 ac_c_werror_flag=$ac_save_c_werror_flag
2484 CFLAGS="-g"
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2489 main ()
2493 return 0;
2495 _ACEOF
2496 if ac_fn_c_try_compile "$LINENO"; then :
2497 ac_cv_prog_cc_g=yes
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 ac_c_werror_flag=$ac_save_c_werror_flag
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2507 $as_echo "$ac_cv_prog_cc_g" >&6; }
2508 if test "$ac_test_CFLAGS" = set; then
2509 CFLAGS=$ac_save_CFLAGS
2510 elif test $ac_cv_prog_cc_g = yes; then
2511 if test "$GCC" = yes; then
2512 CFLAGS="-g -O2"
2513 else
2514 CFLAGS="-g"
2516 else
2517 if test "$GCC" = yes; then
2518 CFLAGS="-O2"
2519 else
2520 CFLAGS=
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2524 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2525 if ${ac_cv_prog_cc_c89+:} false; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 ac_cv_prog_cc_c89=no
2529 ac_save_CC=$CC
2530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2531 /* end confdefs.h. */
2532 #include <stdarg.h>
2533 #include <stdio.h>
2534 struct stat;
2535 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2536 struct buf { int x; };
2537 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2538 static char *e (p, i)
2539 char **p;
2540 int i;
2542 return p[i];
2544 static char *f (char * (*g) (char **, int), char **p, ...)
2546 char *s;
2547 va_list v;
2548 va_start (v,p);
2549 s = g (p, va_arg (v,int));
2550 va_end (v);
2551 return s;
2554 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2555 function prototypes and stuff, but not '\xHH' hex character constants.
2556 These don't provoke an error unfortunately, instead are silently treated
2557 as 'x'. The following induces an error, until -std is added to get
2558 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2559 array size at least. It's necessary to write '\x00'==0 to get something
2560 that's true only with -std. */
2561 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2563 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2564 inside strings and character constants. */
2565 #define FOO(x) 'x'
2566 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2568 int test (int i, double x);
2569 struct s1 {int (*f) (int a);};
2570 struct s2 {int (*f) (double a);};
2571 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2572 int argc;
2573 char **argv;
2575 main ()
2577 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2579 return 0;
2581 _ACEOF
2582 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2583 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2585 CC="$ac_save_CC $ac_arg"
2586 if ac_fn_c_try_compile "$LINENO"; then :
2587 ac_cv_prog_cc_c89=$ac_arg
2589 rm -f core conftest.err conftest.$ac_objext
2590 test "x$ac_cv_prog_cc_c89" != "xno" && break
2591 done
2592 rm -f conftest.$ac_ext
2593 CC=$ac_save_CC
2596 # AC_CACHE_VAL
2597 case "x$ac_cv_prog_cc_c89" in
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2600 $as_echo "none needed" >&6; } ;;
2601 xno)
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2603 $as_echo "unsupported" >&6; } ;;
2605 CC="$CC $ac_cv_prog_cc_c89"
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2607 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2608 esac
2609 if test "x$ac_cv_prog_cc_c89" != xno; then :
2613 ac_ext=c
2614 ac_cpp='$CPP $CPPFLAGS'
2615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2621 $as_echo_n "checking target config location... " >&6; }
2623 # Check whether --with-config-dir was given.
2624 if test "${with_config_dir+set}" = set; then :
2625 withval=$with_config_dir; targetcfg_dir="$withval"
2626 else
2627 targetcfg_dir=""
2630 if test "$targetcfg_dir" = ""; then
2631 as_fn_error $? "missing config directory!" "$LINENO" 5
2632 else
2633 aros_targetcfg_dir="$targetcfg_dir"
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2636 $as_echo "$aros_targetcfg_dir" >&6; }
2638 #-----------------------------------------------------------------------------
2640 # Check if the target compiler supports some features:
2641 # -flto
2642 # -floop-block
2643 # -floop-interchange
2644 # -floop-strip-mine
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2647 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2648 CFLAGS=-flto
2650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2651 /* end confdefs.h. */
2654 main ()
2658 return 0;
2660 _ACEOF
2661 if ac_fn_c_try_compile "$LINENO"; then :
2662 aros_lto="yes"
2663 else
2664 aros_lto="no"
2666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2668 $as_echo "$aros_lto" >&6; }
2669 if test "x-$aros_lto" = "x-yes" ; then
2670 aros_cflags_lto=-flto
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2674 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2675 CFLAGS=-floop-block
2676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2677 /* end confdefs.h. */
2680 main ()
2684 return 0;
2686 _ACEOF
2687 if ac_fn_c_try_compile "$LINENO"; then :
2688 aros_loop_block="yes"
2689 else
2690 aros_loop_block="no"
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2694 $as_echo "$aros_loop_block" >&6; }
2695 if test "x-$aros_loop_block" = "x-yes" ; then
2696 aros_cflags_loop_block=-floop-block
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2700 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2701 CFLAGS=-floop-interchange
2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2706 main ()
2710 return 0;
2712 _ACEOF
2713 if ac_fn_c_try_compile "$LINENO"; then :
2714 aros_loop_interchange="yes"
2715 else
2716 aros_loop_interchange="no"
2718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2720 $as_echo "$aros_loop_interchange" >&6; }
2721 if test "x-$aros_loop_interchange" = "x-yes" ; then
2722 aros_cflags_loop_interchange=-floop-interchange
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2726 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2727 CFLAGS=-floop-strip-mine
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2732 main ()
2736 return 0;
2738 _ACEOF
2739 if ac_fn_c_try_compile "$LINENO"; then :
2740 aros_loop_strip_mine="yes"
2741 else
2742 aros_loop_strip_mine="no"
2744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2746 $as_echo "$aros_loop_strip_mine" >&6; }
2747 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2748 aros_cflags_loop_strip_mine=-floop-strip-mine
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2752 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2753 CFLAGS="-iquote."
2754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2758 main ()
2762 return 0;
2764 _ACEOF
2765 if ac_fn_c_try_compile "$LINENO"; then :
2766 has_iquote="yes"
2767 else
2768 has_iquote="no"
2770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2772 $as_echo "$has_iquote" >&6; }
2773 if test "x-$has_iquote" = "x-yes" ; then
2774 aros_cflags_iquote=-iquote
2775 aros_cflags_iquote_end=
2776 else
2777 aros_cflags_iquote=-I
2778 aros_cflags_iquote_end=-I-
2781 #-----------------------------------------------------------------------------
2783 # Check if the target compiler supports some options used for de-linting:
2784 # -Wunused-command-line-argument
2785 # -Wunknown-warning-option
2786 # -Wunused-but-set-variable
2787 # -Wstrict-aliasing
2788 # -Warray-bounds
2789 # -Wenum-compare
2790 # -Wstrict-prototypes
2791 # -Wstrict-overflow
2792 # -Wformat-security
2793 # -Wmisleading-indentation
2794 # -Wnonnull-compare
2795 # -Wunused
2796 # -Wunused-value
2797 # -Wunused-variable
2798 # -Wunused-function
2799 # -Wuninitialized
2800 # -Wmaybe-uninitialized
2801 # -Wimplicit-function-declaration
2802 # -Wformat
2803 # -Wparentheses
2804 # -Wchar-subscripts
2805 # -Wendif-labels
2806 # -Wformat-contains-nul
2807 # -Wimplicit-int
2808 # -Waggressive-loop-optimizations
2809 # -Wcpp
2810 # -Wswitch
2811 # -Wdiscarded-qualifiers
2812 # -Wsequence-point
2813 # -Wunknown-pragmas
2814 # -Wdiscarded-array-qualifiers
2815 # -Wint-conversion
2816 # -Wint-to-pointer-cast
2817 # -Wpointer-to-int-cast
2818 # -Wunused-const-variable
2819 # -Wwrite-strings
2820 # -Wcomment
2821 # -Wincompatible-pointer-types
2822 # -Wbool-compare
2823 # -Wlogical-not-parentheses
2824 # -Wpointer-sign
2825 # -Wshift-overflow
2826 # -Wframe-address
2827 # -Wdeprecated-declarations
2828 # -Wsign-compare
2829 # -Wattributes
2830 # -Woverflow
2831 # -Wunused-local-typedefs
2832 # -Wmissing-braces
2833 # -Wconversion-null
2834 # -Wnarrowing
2835 # -Wvolatile-register-var
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
2838 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
2839 CFLAGS=-Wunused-command-line-argument
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2844 main ()
2848 return 0;
2850 _ACEOF
2851 if ac_fn_c_try_compile "$LINENO"; then :
2852 aros_unused_command_line_argument="yes"
2853 else
2854 aros_unused_command_line_argument="no"
2856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
2858 $as_echo "$aros_unused_command_line_argument" >&6; }
2859 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
2860 aros_cflags_unused_command_line_argument=-Wno-unused-command-line-argument
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
2864 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
2865 CFLAGS=-Wunknown-warning-option
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2870 main ()
2874 return 0;
2876 _ACEOF
2877 if ac_fn_c_try_compile "$LINENO"; then :
2878 aros_unknown_warning_option="yes"
2879 else
2880 aros_unknown_warning_option="no"
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
2884 $as_echo "$aros_unknown_warning_option" >&6; }
2885 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
2886 aros_cflags_unknown_warning_option=-Wno-unknown-warning-option
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2890 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2891 CFLAGS=-Wunused-but-set-variable
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2896 main ()
2900 return 0;
2902 _ACEOF
2903 if ac_fn_c_try_compile "$LINENO"; then :
2904 aros_unused_but_set_variable="yes"
2905 else
2906 aros_unused_but_set_variable="no"
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2910 $as_echo "$aros_unused_but_set_variable" >&6; }
2911 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2912 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2916 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2917 CFLAGS=-Wstrict-aliasing
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2922 main ()
2926 return 0;
2928 _ACEOF
2929 if ac_fn_c_try_compile "$LINENO"; then :
2930 aros_strict_aliasing="yes"
2931 else
2932 aros_strict_aliasing="no"
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2936 $as_echo "$aros_strict_aliasing" >&6; }
2937 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2938 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2942 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2943 CFLAGS=-Warray-bounds
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2948 main ()
2952 return 0;
2954 _ACEOF
2955 if ac_fn_c_try_compile "$LINENO"; then :
2956 aros_array_bounds="yes"
2957 else
2958 aros_array_bounds="no"
2960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2962 $as_echo "$aros_array_bounds" >&6; }
2963 if test "x-$aros_array_bounds" = "x-yes" ; then
2964 aros_cflags_array_bounds=-Wno-array-bounds
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2968 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2969 CFLAGS=-Wenum-compare
2970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2971 /* end confdefs.h. */
2974 main ()
2978 return 0;
2980 _ACEOF
2981 if ac_fn_c_try_compile "$LINENO"; then :
2982 aros_enum_compare="yes"
2983 else
2984 aros_enum_compare="no"
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2988 $as_echo "$aros_enum_compare" >&6; }
2989 if test "x-$aros_enum_compare" = "x-yes" ; then
2990 aros_cflags_enum_compare=-Wno-enum-compare
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2994 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2995 CFLAGS=-Wstrict-prototypes
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
3000 main ()
3004 return 0;
3006 _ACEOF
3007 if ac_fn_c_try_compile "$LINENO"; then :
3008 aros_strict_prototypes="yes"
3009 else
3010 aros_strict_prototypes="no"
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3014 $as_echo "$aros_strict_prototypes" >&6; }
3015 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3016 aros_cflags_strict_prototypes=-Wno-strict-prototypes
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3020 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3021 CFLAGS=-Wstrict-overflow
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3026 main ()
3030 return 0;
3032 _ACEOF
3033 if ac_fn_c_try_compile "$LINENO"; then :
3034 aros_strict_overflow="yes"
3035 else
3036 aros_strict_overflow="no"
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3040 $as_echo "$aros_strict_overflow" >&6; }
3041 if test "x-$aros_strict_overflow" = "x-yes" ; then
3042 aros_cflags_strict_overflow=-Wno-strict-overflow
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3046 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3047 CFLAGS=-Wformat-security
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3052 main ()
3056 return 0;
3058 _ACEOF
3059 if ac_fn_c_try_compile "$LINENO"; then :
3060 aros_format_security="yes"
3061 else
3062 aros_format_security="no"
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3066 $as_echo "$aros_format_security" >&6; }
3067 if test "x-$aros_format_security" = "x-yes" ; then
3068 aros_cflags_format_security=-Wno-format-security
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3072 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3073 CFLAGS=-Wmisleading-indentation
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3078 main ()
3082 return 0;
3084 _ACEOF
3085 if ac_fn_c_try_compile "$LINENO"; then :
3086 aros_misleading_indentation="yes"
3087 else
3088 aros_misleading_indentation="no"
3090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3092 $as_echo "$aros_misleading_indentation" >&6; }
3093 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3094 aros_cflags_misleading_indentation=-Wno-misleading-indentation
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3098 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3099 CFLAGS=-Wnonnull-compare
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3104 main ()
3108 return 0;
3110 _ACEOF
3111 if ac_fn_c_try_compile "$LINENO"; then :
3112 aros_nonnull_compare="yes"
3113 else
3114 aros_nonnull_compare="no"
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3118 $as_echo "$aros_nonnull_compare" >&6; }
3119 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3120 aros_cflags_nonnull_compare=-Wno-nonnull-compare
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3124 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3125 CFLAGS=-Wunused
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3130 main ()
3134 return 0;
3136 _ACEOF
3137 if ac_fn_c_try_compile "$LINENO"; then :
3138 aros_unused="yes"
3139 else
3140 aros_unused="no"
3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3144 $as_echo "$aros_unused" >&6; }
3145 if test "x-$aros_unused" = "x-yes" ; then
3146 aros_cflags_unused=-Wno-unused
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3150 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3151 CFLAGS=-Wunused-value
3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3156 main ()
3160 return 0;
3162 _ACEOF
3163 if ac_fn_c_try_compile "$LINENO"; then :
3164 aros_unused_value="yes"
3165 else
3166 aros_unused_value="no"
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3170 $as_echo "$aros_unused_value" >&6; }
3171 if test "x-$aros_unused_value" = "x-yes" ; then
3172 aros_cflags_unused_value=-Wno-unused-value
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3176 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3177 CFLAGS=-Wunused-variable
3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3182 main ()
3186 return 0;
3188 _ACEOF
3189 if ac_fn_c_try_compile "$LINENO"; then :
3190 aros_unused_variable="yes"
3191 else
3192 aros_unused_variable="no"
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3196 $as_echo "$aros_unused_variable" >&6; }
3197 if test "x-$aros_unused_variable" = "x-yes" ; then
3198 aros_cflags_unused_variable=-Wno-unused-variable
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3202 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3203 CFLAGS=-Wunused-function
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3208 main ()
3212 return 0;
3214 _ACEOF
3215 if ac_fn_c_try_compile "$LINENO"; then :
3216 aros_unused_function="yes"
3217 else
3218 aros_unused_function="no"
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3222 $as_echo "$aros_unused_function" >&6; }
3223 if test "x-$aros_unused_function" = "x-yes" ; then
3224 aros_cflags_unused_function=-Wno-unused-function
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3228 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3229 CFLAGS=-Wuninitialized
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3234 main ()
3238 return 0;
3240 _ACEOF
3241 if ac_fn_c_try_compile "$LINENO"; then :
3242 aros_uninitialized="yes"
3243 else
3244 aros_uninitialized="no"
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3248 $as_echo "$aros_uninitialized" >&6; }
3249 if test "x-$aros_uninitialized" = "x-yes" ; then
3250 aros_cflags_uninitialized=-Wno-uninitialized
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3254 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3255 CFLAGS=-Wmaybe-uninitialized
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3260 main ()
3264 return 0;
3266 _ACEOF
3267 if ac_fn_c_try_compile "$LINENO"; then :
3268 aros_maybe_uninitialized="yes"
3269 else
3270 aros_maybe_uninitialized="no"
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3274 $as_echo "$aros_maybe_uninitialized" >&6; }
3275 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3276 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3280 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3281 CFLAGS=-Wimplicit-function-declaration
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3286 main ()
3290 return 0;
3292 _ACEOF
3293 if ac_fn_c_try_compile "$LINENO"; then :
3294 aros_implicit_function_declaration="yes"
3295 else
3296 aros_implicit_function_declaration="no"
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3300 $as_echo "$aros_implicit_function_declaration" >&6; }
3301 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3302 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3306 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3307 CFLAGS=-Wformat
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3312 main ()
3316 return 0;
3318 _ACEOF
3319 if ac_fn_c_try_compile "$LINENO"; then :
3320 aros_format="yes"
3321 else
3322 aros_format="no"
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3326 $as_echo "$aros_format" >&6; }
3327 if test "x-$aros_format" = "x-yes" ; then
3328 aros_cflags_format=-Wno-format
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3332 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3333 CFLAGS=-Wparentheses
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main ()
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 aros_parentheses="yes"
3347 else
3348 aros_parentheses="no"
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3352 $as_echo "$aros_parentheses" >&6; }
3353 if test "x-$aros_parentheses" = "x-yes" ; then
3354 aros_cflags_parentheses=-Wno-parentheses
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3358 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3359 CFLAGS=-Wchar-subscripts
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3364 main ()
3368 return 0;
3370 _ACEOF
3371 if ac_fn_c_try_compile "$LINENO"; then :
3372 aros_char_subscripts="yes"
3373 else
3374 aros_char_subscripts="no"
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3378 $as_echo "$aros_char_subscripts" >&6; }
3379 if test "x-$aros_char_subscripts" = "x-yes" ; then
3380 aros_cflags_char_subscripts=-Wno-char-subscripts
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3384 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3385 CFLAGS=-Wendif-labels
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3390 main ()
3394 return 0;
3396 _ACEOF
3397 if ac_fn_c_try_compile "$LINENO"; then :
3398 aros_endif_labels="yes"
3399 else
3400 aros_endif_labels="no"
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3404 $as_echo "$aros_endif_labels" >&6; }
3405 if test "x-$aros_endif_labels" = "x-yes" ; then
3406 aros_cflags_endif_labels=-Wno-endif-labels
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3410 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3411 CFLAGS=-Wformat-contains-nul
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3416 main ()
3420 return 0;
3422 _ACEOF
3423 if ac_fn_c_try_compile "$LINENO"; then :
3424 aros_format_contains_nul="yes"
3425 else
3426 aros_format_contains_nul="no"
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3430 $as_echo "$aros_format_contains_nul" >&6; }
3431 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3432 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3436 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3437 CFLAGS=-Wimplicit-int
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3442 main ()
3446 return 0;
3448 _ACEOF
3449 if ac_fn_c_try_compile "$LINENO"; then :
3450 aros_implicit_int="yes"
3451 else
3452 aros_implicit_int="no"
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3456 $as_echo "$aros_implicit_int" >&6; }
3457 if test "x-$aros_implicit_int" = "x-yes" ; then
3458 aros_cflags_implicit_int=-Wno-implicit-int
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3462 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3463 CFLAGS=-Waggressive-loop-optimizations
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3468 main ()
3472 return 0;
3474 _ACEOF
3475 if ac_fn_c_try_compile "$LINENO"; then :
3476 aros_aggressive_loop_optimizations="yes"
3477 else
3478 aros_aggressive_loop_optimizations="no"
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3482 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3483 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3484 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3488 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3489 CFLAGS=-Wcpp
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3494 main ()
3498 return 0;
3500 _ACEOF
3501 if ac_fn_c_try_compile "$LINENO"; then :
3502 aros_cpp="yes"
3503 else
3504 aros_cpp="no"
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3508 $as_echo "$aros_cpp" >&6; }
3509 if test "x-$aros_cpp" = "x-yes" ; then
3510 aros_cflags_cpp=-Wno-cpp
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3514 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3515 CFLAGS=-Wswitch
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3520 main ()
3524 return 0;
3526 _ACEOF
3527 if ac_fn_c_try_compile "$LINENO"; then :
3528 aros_switch="yes"
3529 else
3530 aros_switch="no"
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3534 $as_echo "$aros_switch" >&6; }
3535 if test "x-$aros_switch" = "x-yes" ; then
3536 aros_cflags_switch=-Wno-switch
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3540 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3541 CFLAGS=-Wdiscarded-qualifiers
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3546 main ()
3550 return 0;
3552 _ACEOF
3553 if ac_fn_c_try_compile "$LINENO"; then :
3554 aros_discarded_qualifiers="yes"
3555 else
3556 aros_discarded_qualifiers="no"
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3560 $as_echo "$aros_discarded_qualifiers" >&6; }
3561 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3562 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3566 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3567 CFLAGS=-Wsequence-point
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3572 main ()
3576 return 0;
3578 _ACEOF
3579 if ac_fn_c_try_compile "$LINENO"; then :
3580 aros_sequence_point="yes"
3581 else
3582 aros_sequence_point="no"
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3586 $as_echo "$aros_sequence_point" >&6; }
3587 if test "x-$aros_sequence_point" = "x-yes" ; then
3588 aros_cflags_sequence_point=-Wno-sequence-point
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3592 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3593 CFLAGS=-Wunknown-pragmas
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3598 main ()
3602 return 0;
3604 _ACEOF
3605 if ac_fn_c_try_compile "$LINENO"; then :
3606 aros_unknown_pragmas="yes"
3607 else
3608 aros_unknown_pragmas="no"
3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3612 $as_echo "$aros_unknown_pragmas" >&6; }
3613 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3614 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3618 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3619 CFLAGS=-Wdiscarded-array-qualifiers
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3624 main ()
3628 return 0;
3630 _ACEOF
3631 if ac_fn_c_try_compile "$LINENO"; then :
3632 aros_discarded_array_qualifiers="yes"
3633 else
3634 aros_discarded_array_qualifiers="no"
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3638 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3639 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3640 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3644 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3645 CFLAGS=-Wint-conversion
3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3650 main ()
3654 return 0;
3656 _ACEOF
3657 if ac_fn_c_try_compile "$LINENO"; then :
3658 aros_int_conversion="yes"
3659 else
3660 aros_int_conversion="no"
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3664 $as_echo "$aros_int_conversion" >&6; }
3665 if test "x-$aros_int_conversion" = "x-yes" ; then
3666 aros_cflags_int_conversion=-Wno-int-conversion
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3670 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3671 CFLAGS=-Wint-to-pointer-cast
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3676 main ()
3680 return 0;
3682 _ACEOF
3683 if ac_fn_c_try_compile "$LINENO"; then :
3684 aros_int_to_pointer_cast="yes"
3685 else
3686 aros_int_to_pointer_cast="no"
3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3690 $as_echo "$aros_int_to_pointer_cast" >&6; }
3691 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3692 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3696 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3697 CFLAGS=-Wpointer-to-int-cast
3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3702 main ()
3706 return 0;
3708 _ACEOF
3709 if ac_fn_c_try_compile "$LINENO"; then :
3710 aros_pointer_to_int_cast="yes"
3711 else
3712 aros_pointer_to_int_cast="no"
3714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3716 $as_echo "$aros_pointer_to_int_cast" >&6; }
3717 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3718 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3722 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3723 CFLAGS=-Wunused-const-variable
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3728 main ()
3732 return 0;
3734 _ACEOF
3735 if ac_fn_c_try_compile "$LINENO"; then :
3736 aros_unused_const_variable="yes"
3737 else
3738 aros_unused_const_variable="no"
3740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3742 $as_echo "$aros_unused_const_variable" >&6; }
3743 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3744 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3748 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3749 CFLAGS=-Wwrite-strings
3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3754 main ()
3758 return 0;
3760 _ACEOF
3761 if ac_fn_c_try_compile "$LINENO"; then :
3762 aros_write_strings="yes"
3763 else
3764 aros_write_strings="no"
3766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3768 $as_echo "$aros_write_strings" >&6; }
3769 if test "x-$aros_write_strings" = "x-yes" ; then
3770 aros_cflags_write_strings=-Wno-write-strings
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3774 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3775 CFLAGS=-Wcomment
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3780 main ()
3784 return 0;
3786 _ACEOF
3787 if ac_fn_c_try_compile "$LINENO"; then :
3788 aros_comment="yes"
3789 else
3790 aros_comment="no"
3792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3794 $as_echo "$aros_comment" >&6; }
3795 if test "x-$aros_comment" = "x-yes" ; then
3796 aros_cflags_comment=-Wno-comment
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3800 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3801 CFLAGS=-Wincompatible-pointer-types
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3806 main ()
3810 return 0;
3812 _ACEOF
3813 if ac_fn_c_try_compile "$LINENO"; then :
3814 aros_incompatible_pointer_types="yes"
3815 else
3816 aros_incompatible_pointer_types="no"
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3820 $as_echo "$aros_incompatible_pointer_types" >&6; }
3821 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3822 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3826 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3827 CFLAGS=-Wbool-compare
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3832 main ()
3836 return 0;
3838 _ACEOF
3839 if ac_fn_c_try_compile "$LINENO"; then :
3840 aros_bool_compare="yes"
3841 else
3842 aros_bool_compare="no"
3844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3846 $as_echo "$aros_bool_compare" >&6; }
3847 if test "x-$aros_bool_compare" = "x-yes" ; then
3848 aros_cflags_bool_compare=-Wno-bool-compare
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3852 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3853 CFLAGS=-Wlogical-not-parentheses
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3858 main ()
3862 return 0;
3864 _ACEOF
3865 if ac_fn_c_try_compile "$LINENO"; then :
3866 aros_logical_not_parentheses="yes"
3867 else
3868 aros_logical_not_parentheses="no"
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3872 $as_echo "$aros_logical_not_parentheses" >&6; }
3873 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3874 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3878 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3879 CFLAGS=-Wpointer-sign
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3884 main ()
3888 return 0;
3890 _ACEOF
3891 if ac_fn_c_try_compile "$LINENO"; then :
3892 aros_pointer_sign="yes"
3893 else
3894 aros_pointer_sign="no"
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3898 $as_echo "$aros_pointer_sign" >&6; }
3899 if test "x-$aros_pointer_sign" = "x-yes" ; then
3900 aros_cflags_pointer_sign=-Wno-pointer-sign
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3904 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3905 CFLAGS=-Wshift-overflow
3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 /* end confdefs.h. */
3910 main ()
3914 return 0;
3916 _ACEOF
3917 if ac_fn_c_try_compile "$LINENO"; then :
3918 aros_shift_overflow="yes"
3919 else
3920 aros_shift_overflow="no"
3922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3924 $as_echo "$aros_shift_overflow" >&6; }
3925 if test "x-$aros_shift_overflow" = "x-yes" ; then
3926 aros_cflags_shift_overflow=-Wno-shift-overflow
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3930 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3931 CFLAGS=-Wframe-address
3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h. */
3936 main ()
3940 return 0;
3942 _ACEOF
3943 if ac_fn_c_try_compile "$LINENO"; then :
3944 aros_frame_address="yes"
3945 else
3946 aros_frame_address="no"
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3950 $as_echo "$aros_frame_address" >&6; }
3951 if test "x-$aros_frame_address" = "x-yes" ; then
3952 aros_cflags_frame_address=-Wno-frame-address
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3956 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3957 CFLAGS=-Wdeprecated-declarations
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3962 main ()
3966 return 0;
3968 _ACEOF
3969 if ac_fn_c_try_compile "$LINENO"; then :
3970 aros_deprecated_declarations="yes"
3971 else
3972 aros_deprecated_declarations="no"
3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3976 $as_echo "$aros_deprecated_declarations" >&6; }
3977 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3978 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
3982 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
3983 CFLAGS=-Wsign-compare
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3988 main ()
3992 return 0;
3994 _ACEOF
3995 if ac_fn_c_try_compile "$LINENO"; then :
3996 aros_sign_compare="yes"
3997 else
3998 aros_sign_compare="no"
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4002 $as_echo "$aros_sign_compare" >&6; }
4003 if test "x-$aros_sign_compare" = "x-yes" ; then
4004 aros_cflags_sign_compare=-Wno-sign-compare
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4008 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4009 CFLAGS=-Wattributes
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4014 main ()
4018 return 0;
4020 _ACEOF
4021 if ac_fn_c_try_compile "$LINENO"; then :
4022 aros_attributes="yes"
4023 else
4024 aros_attributes="no"
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4028 $as_echo "$aros_attributes" >&6; }
4029 if test "x-$aros_attributes" = "x-yes" ; then
4030 aros_cflags_attributes=-Wno-attributes
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4034 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4035 CFLAGS=-Woverflow
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4040 main ()
4044 return 0;
4046 _ACEOF
4047 if ac_fn_c_try_compile "$LINENO"; then :
4048 aros_overflow="yes"
4049 else
4050 aros_overflow="no"
4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4054 $as_echo "$aros_overflow" >&6; }
4055 if test "x-$aros_overflow" = "x-yes" ; then
4056 aros_cflags_overflow=-Wno-overflow
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4060 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4061 CFLAGS=-Wunused-local-typedefs
4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4066 main ()
4070 return 0;
4072 _ACEOF
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074 aros_unused_local_typedefs="yes"
4075 else
4076 aros_unused_local_typedefs="no"
4078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4080 $as_echo "$aros_unused_local_typedefs" >&6; }
4081 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4082 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4086 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4087 CFLAGS=-Wmissing-braces
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4092 main ()
4096 return 0;
4098 _ACEOF
4099 if ac_fn_c_try_compile "$LINENO"; then :
4100 aros_missing_braces="yes"
4101 else
4102 aros_missing_braces="no"
4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4106 $as_echo "$aros_missing_braces" >&6; }
4107 if test "x-$aros_missing_braces" = "x-yes" ; then
4108 aros_cflags_missing_braces=-Wno-missing-braces
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4112 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4113 CFLAGS=-Wconversion-null
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4118 main ()
4122 return 0;
4124 _ACEOF
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 aros_conversion_null="yes"
4127 else
4128 aros_conversion_null="no"
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4132 $as_echo "$aros_conversion_null" >&6; }
4133 if test "x-$aros_conversion_null" = "x-yes" ; then
4134 aros_cflags_conversion_null=-Wno-conversion-null
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4138 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4139 CFLAGS=-Wnarrowing
4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4144 main ()
4148 return 0;
4150 _ACEOF
4151 if ac_fn_c_try_compile "$LINENO"; then :
4152 aros_narrowing="yes"
4153 else
4154 aros_narrowing="no"
4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4158 $as_echo "$aros_narrowing" >&6; }
4159 if test "x-$aros_narrowing" = "x-yes" ; then
4160 aros_cflags_narrowing=-Wno-narrowing
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4164 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4165 CFLAGS=-Wvolatile-register-var
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4170 main ()
4174 return 0;
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 aros_volatile_register_var="yes"
4179 else
4180 aros_volatile_register_var="no"
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4184 $as_echo "$aros_volatile_register_var" >&6; }
4185 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4186 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4250 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4253 cat >confcache <<\_ACEOF
4254 # This file is a shell script that caches the results of configure
4255 # tests run on this system so they can be shared between configure
4256 # scripts and configure runs, see configure's option --config-cache.
4257 # It is not useful on other systems. If it contains results you don't
4258 # want to keep, you may remove or edit it.
4260 # config.status only pays attention to the cache file if you give it
4261 # the --recheck option to rerun configure.
4263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4265 # following values.
4267 _ACEOF
4269 # The following way of writing the cache mishandles newlines in values,
4270 # but we know of no workaround that is simple, portable, and efficient.
4271 # So, we kill variables containing newlines.
4272 # Ultrix sh set writes to stderr and can't be redirected directly,
4273 # and sets the high bit in the cache file unless we assign to the vars.
4275 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4276 eval ac_val=\$$ac_var
4277 case $ac_val in #(
4278 *${as_nl}*)
4279 case $ac_var in #(
4280 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4282 esac
4283 case $ac_var in #(
4284 _ | IFS | as_nl) ;; #(
4285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4286 *) { eval $ac_var=; unset $ac_var;} ;;
4287 esac ;;
4288 esac
4289 done
4291 (set) 2>&1 |
4292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4293 *${as_nl}ac_space=\ *)
4294 # `set' does not quote correctly, so add quotes: double-quote
4295 # substitution turns \\\\ into \\, and sed turns \\ into \.
4296 sed -n \
4297 "s/'/'\\\\''/g;
4298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4299 ;; #(
4301 # `set' quotes correctly as required by POSIX, so do not add quotes.
4302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4304 esac |
4305 sort
4307 sed '
4308 /^ac_cv_env_/b end
4309 t clear
4310 :clear
4311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4312 t end
4313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4314 :end' >>confcache
4315 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4316 if test -w "$cache_file"; then
4317 if test "x$cache_file" != "x/dev/null"; then
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4319 $as_echo "$as_me: updating cache $cache_file" >&6;}
4320 if test ! -f "$cache_file" || test -h "$cache_file"; then
4321 cat confcache >"$cache_file"
4322 else
4323 case $cache_file in #(
4324 */* | ?:*)
4325 mv -f confcache "$cache_file"$$ &&
4326 mv -f "$cache_file"$$ "$cache_file" ;; #(
4328 mv -f confcache "$cache_file" ;;
4329 esac
4332 else
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4337 rm -f confcache
4339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4340 # Let make expand exec_prefix.
4341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4343 # Transform confdefs.h into DEFS.
4344 # Protect against shell expansion while executing Makefile rules.
4345 # Protect against Makefile macro expansion.
4347 # If the first sed substitution is executed (which looks for macros that
4348 # take arguments), then branch to the quote section. Otherwise,
4349 # look for a macro that doesn't take arguments.
4350 ac_script='
4351 :mline
4352 /\\$/{
4354 s,\\\n,,
4355 b mline
4357 t clear
4358 :clear
4359 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4360 t quote
4361 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4362 t quote
4363 b any
4364 :quote
4365 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4366 s/\[/\\&/g
4367 s/\]/\\&/g
4368 s/\$/$$/g
4370 :any
4373 s/^\n//
4374 s/\n/ /g
4378 DEFS=`sed -n "$ac_script" confdefs.h`
4381 ac_libobjs=
4382 ac_ltlibobjs=
4384 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4385 # 1. Remove the extension, and $U if already installed.
4386 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4387 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4388 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4389 # will be set to the directory where LIBOBJS objects are built.
4390 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4391 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4392 done
4393 LIBOBJS=$ac_libobjs
4395 LTLIBOBJS=$ac_ltlibobjs
4399 : "${CONFIG_STATUS=./config.status}"
4400 ac_write_fail=0
4401 ac_clean_files_save=$ac_clean_files
4402 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4404 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4405 as_write_fail=0
4406 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4407 #! $SHELL
4408 # Generated by $as_me.
4409 # Run this file to recreate the current configuration.
4410 # Compiler output produced by configure, useful for debugging
4411 # configure, is in config.log if it exists.
4413 debug=false
4414 ac_cs_recheck=false
4415 ac_cs_silent=false
4417 SHELL=\${CONFIG_SHELL-$SHELL}
4418 export SHELL
4419 _ASEOF
4420 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4421 ## -------------------- ##
4422 ## M4sh Initialization. ##
4423 ## -------------------- ##
4425 # Be more Bourne compatible
4426 DUALCASE=1; export DUALCASE # for MKS sh
4427 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4428 emulate sh
4429 NULLCMD=:
4430 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4431 # is contrary to our usage. Disable this feature.
4432 alias -g '${1+"$@"}'='"$@"'
4433 setopt NO_GLOB_SUBST
4434 else
4435 case `(set -o) 2>/dev/null` in #(
4436 *posix*) :
4437 set -o posix ;; #(
4438 *) :
4440 esac
4444 as_nl='
4446 export as_nl
4447 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4448 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4449 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4450 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4451 # Prefer a ksh shell builtin over an external printf program on Solaris,
4452 # but without wasting forks for bash or zsh.
4453 if test -z "$BASH_VERSION$ZSH_VERSION" \
4454 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4455 as_echo='print -r --'
4456 as_echo_n='print -rn --'
4457 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4458 as_echo='printf %s\n'
4459 as_echo_n='printf %s'
4460 else
4461 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4462 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4463 as_echo_n='/usr/ucb/echo -n'
4464 else
4465 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4466 as_echo_n_body='eval
4467 arg=$1;
4468 case $arg in #(
4469 *"$as_nl"*)
4470 expr "X$arg" : "X\\(.*\\)$as_nl";
4471 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4472 esac;
4473 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4475 export as_echo_n_body
4476 as_echo_n='sh -c $as_echo_n_body as_echo'
4478 export as_echo_body
4479 as_echo='sh -c $as_echo_body as_echo'
4482 # The user is always right.
4483 if test "${PATH_SEPARATOR+set}" != set; then
4484 PATH_SEPARATOR=:
4485 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4486 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4487 PATH_SEPARATOR=';'
4492 # IFS
4493 # We need space, tab and new line, in precisely that order. Quoting is
4494 # there to prevent editors from complaining about space-tab.
4495 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4496 # splitting by setting IFS to empty value.)
4497 IFS=" "" $as_nl"
4499 # Find who we are. Look in the path if we contain no directory separator.
4500 as_myself=
4501 case $0 in #((
4502 *[\\/]* ) as_myself=$0 ;;
4503 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH
4506 IFS=$as_save_IFS
4507 test -z "$as_dir" && as_dir=.
4508 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4509 done
4510 IFS=$as_save_IFS
4513 esac
4514 # We did not find ourselves, most probably we were run as `sh COMMAND'
4515 # in which case we are not to be found in the path.
4516 if test "x$as_myself" = x; then
4517 as_myself=$0
4519 if test ! -f "$as_myself"; then
4520 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4521 exit 1
4524 # Unset variables that we do not need and which cause bugs (e.g. in
4525 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4526 # suppresses any "Segmentation fault" message there. '((' could
4527 # trigger a bug in pdksh 5.2.14.
4528 for as_var in BASH_ENV ENV MAIL MAILPATH
4529 do eval test x\${$as_var+set} = xset \
4530 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4531 done
4532 PS1='$ '
4533 PS2='> '
4534 PS4='+ '
4536 # NLS nuisances.
4537 LC_ALL=C
4538 export LC_ALL
4539 LANGUAGE=C
4540 export LANGUAGE
4542 # CDPATH.
4543 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4546 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4547 # ----------------------------------------
4548 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4549 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4550 # script with STATUS, using 1 if that was 0.
4551 as_fn_error ()
4553 as_status=$1; test $as_status -eq 0 && as_status=1
4554 if test "$4"; then
4555 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4556 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4558 $as_echo "$as_me: error: $2" >&2
4559 as_fn_exit $as_status
4560 } # as_fn_error
4563 # as_fn_set_status STATUS
4564 # -----------------------
4565 # Set $? to STATUS, without forking.
4566 as_fn_set_status ()
4568 return $1
4569 } # as_fn_set_status
4571 # as_fn_exit STATUS
4572 # -----------------
4573 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4574 as_fn_exit ()
4576 set +e
4577 as_fn_set_status $1
4578 exit $1
4579 } # as_fn_exit
4581 # as_fn_unset VAR
4582 # ---------------
4583 # Portably unset VAR.
4584 as_fn_unset ()
4586 { eval $1=; unset $1;}
4588 as_unset=as_fn_unset
4589 # as_fn_append VAR VALUE
4590 # ----------------------
4591 # Append the text in VALUE to the end of the definition contained in VAR. Take
4592 # advantage of any shell optimizations that allow amortized linear growth over
4593 # repeated appends, instead of the typical quadratic growth present in naive
4594 # implementations.
4595 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4596 eval 'as_fn_append ()
4598 eval $1+=\$2
4600 else
4601 as_fn_append ()
4603 eval $1=\$$1\$2
4605 fi # as_fn_append
4607 # as_fn_arith ARG...
4608 # ------------------
4609 # Perform arithmetic evaluation on the ARGs, and store the result in the
4610 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4611 # must be portable across $(()) and expr.
4612 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4613 eval 'as_fn_arith ()
4615 as_val=$(( $* ))
4617 else
4618 as_fn_arith ()
4620 as_val=`expr "$@" || test $? -eq 1`
4622 fi # as_fn_arith
4625 if expr a : '\(a\)' >/dev/null 2>&1 &&
4626 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4627 as_expr=expr
4628 else
4629 as_expr=false
4632 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4633 as_basename=basename
4634 else
4635 as_basename=false
4638 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4639 as_dirname=dirname
4640 else
4641 as_dirname=false
4644 as_me=`$as_basename -- "$0" ||
4645 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4646 X"$0" : 'X\(//\)$' \| \
4647 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4648 $as_echo X/"$0" |
4649 sed '/^.*\/\([^/][^/]*\)\/*$/{
4650 s//\1/
4653 /^X\/\(\/\/\)$/{
4654 s//\1/
4657 /^X\/\(\/\).*/{
4658 s//\1/
4661 s/.*/./; q'`
4663 # Avoid depending upon Character Ranges.
4664 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4665 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4666 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4667 as_cr_digits='0123456789'
4668 as_cr_alnum=$as_cr_Letters$as_cr_digits
4670 ECHO_C= ECHO_N= ECHO_T=
4671 case `echo -n x` in #(((((
4672 -n*)
4673 case `echo 'xy\c'` in
4674 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4675 xy) ECHO_C='\c';;
4676 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4677 ECHO_T=' ';;
4678 esac;;
4680 ECHO_N='-n';;
4681 esac
4683 rm -f conf$$ conf$$.exe conf$$.file
4684 if test -d conf$$.dir; then
4685 rm -f conf$$.dir/conf$$.file
4686 else
4687 rm -f conf$$.dir
4688 mkdir conf$$.dir 2>/dev/null
4690 if (echo >conf$$.file) 2>/dev/null; then
4691 if ln -s conf$$.file conf$$ 2>/dev/null; then
4692 as_ln_s='ln -s'
4693 # ... but there are two gotchas:
4694 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4695 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4696 # In both cases, we have to default to `cp -pR'.
4697 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4698 as_ln_s='cp -pR'
4699 elif ln conf$$.file conf$$ 2>/dev/null; then
4700 as_ln_s=ln
4701 else
4702 as_ln_s='cp -pR'
4704 else
4705 as_ln_s='cp -pR'
4707 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4708 rmdir conf$$.dir 2>/dev/null
4711 # as_fn_mkdir_p
4712 # -------------
4713 # Create "$as_dir" as a directory, including parents if necessary.
4714 as_fn_mkdir_p ()
4717 case $as_dir in #(
4718 -*) as_dir=./$as_dir;;
4719 esac
4720 test -d "$as_dir" || eval $as_mkdir_p || {
4721 as_dirs=
4722 while :; do
4723 case $as_dir in #(
4724 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4725 *) as_qdir=$as_dir;;
4726 esac
4727 as_dirs="'$as_qdir' $as_dirs"
4728 as_dir=`$as_dirname -- "$as_dir" ||
4729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4730 X"$as_dir" : 'X\(//\)[^/]' \| \
4731 X"$as_dir" : 'X\(//\)$' \| \
4732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4733 $as_echo X"$as_dir" |
4734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4735 s//\1/
4738 /^X\(\/\/\)[^/].*/{
4739 s//\1/
4742 /^X\(\/\/\)$/{
4743 s//\1/
4746 /^X\(\/\).*/{
4747 s//\1/
4750 s/.*/./; q'`
4751 test -d "$as_dir" && break
4752 done
4753 test -z "$as_dirs" || eval "mkdir $as_dirs"
4754 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4757 } # as_fn_mkdir_p
4758 if mkdir -p . 2>/dev/null; then
4759 as_mkdir_p='mkdir -p "$as_dir"'
4760 else
4761 test -d ./-p && rmdir ./-p
4762 as_mkdir_p=false
4766 # as_fn_executable_p FILE
4767 # -----------------------
4768 # Test if FILE is an executable regular file.
4769 as_fn_executable_p ()
4771 test -f "$1" && test -x "$1"
4772 } # as_fn_executable_p
4773 as_test_x='test -x'
4774 as_executable_p=as_fn_executable_p
4776 # Sed expression to map a string onto a valid CPP name.
4777 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4779 # Sed expression to map a string onto a valid variable name.
4780 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4783 exec 6>&1
4784 ## ----------------------------------- ##
4785 ## Main body of $CONFIG_STATUS script. ##
4786 ## ----------------------------------- ##
4787 _ASEOF
4788 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4791 # Save the log message, to keep $0 and so on meaningful, and to
4792 # report actual input values of CONFIG_FILES etc. instead of their
4793 # values after options handling.
4794 ac_log="
4795 This file was extended by $as_me, which was
4796 generated by GNU Autoconf 2.69. Invocation command line was
4798 CONFIG_FILES = $CONFIG_FILES
4799 CONFIG_HEADERS = $CONFIG_HEADERS
4800 CONFIG_LINKS = $CONFIG_LINKS
4801 CONFIG_COMMANDS = $CONFIG_COMMANDS
4802 $ $0 $@
4804 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4807 _ACEOF
4809 case $ac_config_files in *"
4810 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4811 esac
4815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4816 # Files that config.status was made for.
4817 config_files="$ac_config_files"
4819 _ACEOF
4821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4822 ac_cs_usage="\
4823 \`$as_me' instantiates files and other configuration actions
4824 from templates according to the current configuration. Unless the files
4825 and actions are specified as TAGs, all are instantiated by default.
4827 Usage: $0 [OPTION]... [TAG]...
4829 -h, --help print this help, then exit
4830 -V, --version print version number and configuration settings, then exit
4831 --config print configuration, then exit
4832 -q, --quiet, --silent
4833 do not print progress messages
4834 -d, --debug don't remove temporary files
4835 --recheck update $as_me by reconfiguring in the same conditions
4836 --file=FILE[:TEMPLATE]
4837 instantiate the configuration file FILE
4839 Configuration files:
4840 $config_files
4842 Report bugs to the package provider."
4844 _ACEOF
4845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4846 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4847 ac_cs_version="\\
4848 config.status
4849 configured by $0, generated by GNU Autoconf 2.69,
4850 with options \\"\$ac_cs_config\\"
4852 Copyright (C) 2012 Free Software Foundation, Inc.
4853 This config.status script is free software; the Free Software Foundation
4854 gives unlimited permission to copy, distribute and modify it."
4856 ac_pwd='$ac_pwd'
4857 srcdir='$srcdir'
4858 test -n "\$AWK" || AWK=awk
4859 _ACEOF
4861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4862 # The default lists apply if the user does not specify any file.
4863 ac_need_defaults=:
4864 while test $# != 0
4866 case $1 in
4867 --*=?*)
4868 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4869 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4870 ac_shift=:
4872 --*=)
4873 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4874 ac_optarg=
4875 ac_shift=:
4878 ac_option=$1
4879 ac_optarg=$2
4880 ac_shift=shift
4882 esac
4884 case $ac_option in
4885 # Handling of the options.
4886 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4887 ac_cs_recheck=: ;;
4888 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4889 $as_echo "$ac_cs_version"; exit ;;
4890 --config | --confi | --conf | --con | --co | --c )
4891 $as_echo "$ac_cs_config"; exit ;;
4892 --debug | --debu | --deb | --de | --d | -d )
4893 debug=: ;;
4894 --file | --fil | --fi | --f )
4895 $ac_shift
4896 case $ac_optarg in
4897 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4898 '') as_fn_error $? "missing file argument" ;;
4899 esac
4900 as_fn_append CONFIG_FILES " '$ac_optarg'"
4901 ac_need_defaults=false;;
4902 --he | --h | --help | --hel | -h )
4903 $as_echo "$ac_cs_usage"; exit ;;
4904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4905 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4906 ac_cs_silent=: ;;
4908 # This is an error.
4909 -*) as_fn_error $? "unrecognized option: \`$1'
4910 Try \`$0 --help' for more information." ;;
4912 *) as_fn_append ac_config_targets " $1"
4913 ac_need_defaults=false ;;
4915 esac
4916 shift
4917 done
4919 ac_configure_extra_args=
4921 if $ac_cs_silent; then
4922 exec 6>/dev/null
4923 ac_configure_extra_args="$ac_configure_extra_args --silent"
4926 _ACEOF
4927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4928 if \$ac_cs_recheck; then
4929 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4930 shift
4931 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4932 CONFIG_SHELL='$SHELL'
4933 export CONFIG_SHELL
4934 exec "\$@"
4937 _ACEOF
4938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4939 exec 5>>config.log
4941 echo
4942 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4943 ## Running $as_me. ##
4944 _ASBOX
4945 $as_echo "$ac_log"
4946 } >&5
4948 _ACEOF
4949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4950 _ACEOF
4952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4954 # Handling of arguments.
4955 for ac_config_target in $ac_config_targets
4957 case $ac_config_target in
4958 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4960 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4961 esac
4962 done
4965 # If the user did not use the arguments to specify the items to instantiate,
4966 # then the envvar interface is used. Set only those that are not.
4967 # We use the long form for the default assignment because of an extremely
4968 # bizarre bug on SunOS 4.1.3.
4969 if $ac_need_defaults; then
4970 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4973 # Have a temporary directory for convenience. Make it in the build tree
4974 # simply because there is no reason against having it here, and in addition,
4975 # creating and moving files from /tmp can sometimes cause problems.
4976 # Hook for its removal unless debugging.
4977 # Note that there is a small window in which the directory will not be cleaned:
4978 # after its creation but before its name has been assigned to `$tmp'.
4979 $debug ||
4981 tmp= ac_tmp=
4982 trap 'exit_status=$?
4983 : "${ac_tmp:=$tmp}"
4984 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4986 trap 'as_fn_exit 1' 1 2 13 15
4988 # Create a (secure) tmp directory for tmp files.
4991 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4992 test -d "$tmp"
4993 } ||
4995 tmp=./conf$$-$RANDOM
4996 (umask 077 && mkdir "$tmp")
4997 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4998 ac_tmp=$tmp
5000 # Set up the scripts for CONFIG_FILES section.
5001 # No need to generate them if there are no CONFIG_FILES.
5002 # This happens for instance with `./config.status config.h'.
5003 if test -n "$CONFIG_FILES"; then
5006 ac_cr=`echo X | tr X '\015'`
5007 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5008 # But we know of no other shell where ac_cr would be empty at this
5009 # point, so we can use a bashism as a fallback.
5010 if test "x$ac_cr" = x; then
5011 eval ac_cr=\$\'\\r\'
5013 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5014 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5015 ac_cs_awk_cr='\\r'
5016 else
5017 ac_cs_awk_cr=$ac_cr
5020 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5021 _ACEOF
5025 echo "cat >conf$$subs.awk <<_ACEOF" &&
5026 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5027 echo "_ACEOF"
5028 } >conf$$subs.sh ||
5029 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5030 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5031 ac_delim='%!_!# '
5032 for ac_last_try in false false false false false :; do
5033 . ./conf$$subs.sh ||
5034 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5036 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5037 if test $ac_delim_n = $ac_delim_num; then
5038 break
5039 elif $ac_last_try; then
5040 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5041 else
5042 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5044 done
5045 rm -f conf$$subs.sh
5047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5048 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5049 _ACEOF
5050 sed -n '
5052 s/^/S["/; s/!.*/"]=/
5055 s/^[^!]*!//
5056 :repl
5057 t repl
5058 s/'"$ac_delim"'$//
5059 t delim
5062 s/\(.\{148\}\)..*/\1/
5063 t more1
5064 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5067 b repl
5068 :more1
5069 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5072 s/.\{148\}//
5073 t nl
5074 :delim
5076 s/\(.\{148\}\)..*/\1/
5077 t more2
5078 s/["\\]/\\&/g; s/^/"/; s/$/"/
5081 :more2
5082 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5085 s/.\{148\}//
5086 t delim
5087 ' <conf$$subs.awk | sed '
5088 /^[^""]/{
5090 s/\n//
5092 ' >>$CONFIG_STATUS || ac_write_fail=1
5093 rm -f conf$$subs.awk
5094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5095 _ACAWK
5096 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5097 for (key in S) S_is_set[key] = 1
5098 FS = "\a"
5102 line = $ 0
5103 nfields = split(line, field, "@")
5104 substed = 0
5105 len = length(field[1])
5106 for (i = 2; i < nfields; i++) {
5107 key = field[i]
5108 keylen = length(key)
5109 if (S_is_set[key]) {
5110 value = S[key]
5111 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5112 len += length(value) + length(field[++i])
5113 substed = 1
5114 } else
5115 len += 1 + keylen
5118 print line
5121 _ACAWK
5122 _ACEOF
5123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5124 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5125 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5126 else
5128 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5129 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5130 _ACEOF
5132 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5133 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5134 # trailing colons and then remove the whole line if VPATH becomes empty
5135 # (actually we leave an empty line to preserve line numbers).
5136 if test "x$srcdir" = x.; then
5137 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5139 s///
5140 s/^/:/
5141 s/[ ]*$/:/
5142 s/:\$(srcdir):/:/g
5143 s/:\${srcdir}:/:/g
5144 s/:@srcdir@:/:/g
5145 s/^:*//
5146 s/:*$//
5148 s/\(=[ ]*\).*/\1/
5150 s/\n//
5151 s/^[^=]*=[ ]*$//
5155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5156 fi # test -n "$CONFIG_FILES"
5159 eval set X " :F $CONFIG_FILES "
5160 shift
5161 for ac_tag
5163 case $ac_tag in
5164 :[FHLC]) ac_mode=$ac_tag; continue;;
5165 esac
5166 case $ac_mode$ac_tag in
5167 :[FHL]*:*);;
5168 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5169 :[FH]-) ac_tag=-:-;;
5170 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5171 esac
5172 ac_save_IFS=$IFS
5173 IFS=:
5174 set x $ac_tag
5175 IFS=$ac_save_IFS
5176 shift
5177 ac_file=$1
5178 shift
5180 case $ac_mode in
5181 :L) ac_source=$1;;
5182 :[FH])
5183 ac_file_inputs=
5184 for ac_f
5186 case $ac_f in
5187 -) ac_f="$ac_tmp/stdin";;
5188 *) # Look for the file first in the build tree, then in the source tree
5189 # (if the path is not absolute). The absolute path cannot be DOS-style,
5190 # because $ac_f cannot contain `:'.
5191 test -f "$ac_f" ||
5192 case $ac_f in
5193 [\\/$]*) false;;
5194 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5195 esac ||
5196 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5197 esac
5198 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5199 as_fn_append ac_file_inputs " '$ac_f'"
5200 done
5202 # Let's still pretend it is `configure' which instantiates (i.e., don't
5203 # use $as_me), people would be surprised to read:
5204 # /* config.h. Generated by config.status. */
5205 configure_input='Generated from '`
5206 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5207 `' by configure.'
5208 if test x"$ac_file" != x-; then
5209 configure_input="$ac_file. $configure_input"
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5211 $as_echo "$as_me: creating $ac_file" >&6;}
5213 # Neutralize special characters interpreted by sed in replacement strings.
5214 case $configure_input in #(
5215 *\&* | *\|* | *\\* )
5216 ac_sed_conf_input=`$as_echo "$configure_input" |
5217 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5218 *) ac_sed_conf_input=$configure_input;;
5219 esac
5221 case $ac_tag in
5222 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5223 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5224 esac
5226 esac
5228 ac_dir=`$as_dirname -- "$ac_file" ||
5229 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5230 X"$ac_file" : 'X\(//\)[^/]' \| \
5231 X"$ac_file" : 'X\(//\)$' \| \
5232 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5233 $as_echo X"$ac_file" |
5234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5235 s//\1/
5238 /^X\(\/\/\)[^/].*/{
5239 s//\1/
5242 /^X\(\/\/\)$/{
5243 s//\1/
5246 /^X\(\/\).*/{
5247 s//\1/
5250 s/.*/./; q'`
5251 as_dir="$ac_dir"; as_fn_mkdir_p
5252 ac_builddir=.
5254 case "$ac_dir" in
5255 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5257 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5258 # A ".." for each directory in $ac_dir_suffix.
5259 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5260 case $ac_top_builddir_sub in
5261 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5262 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5263 esac ;;
5264 esac
5265 ac_abs_top_builddir=$ac_pwd
5266 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5267 # for backward compatibility:
5268 ac_top_builddir=$ac_top_build_prefix
5270 case $srcdir in
5271 .) # We are building in place.
5272 ac_srcdir=.
5273 ac_top_srcdir=$ac_top_builddir_sub
5274 ac_abs_top_srcdir=$ac_pwd ;;
5275 [\\/]* | ?:[\\/]* ) # Absolute name.
5276 ac_srcdir=$srcdir$ac_dir_suffix;
5277 ac_top_srcdir=$srcdir
5278 ac_abs_top_srcdir=$srcdir ;;
5279 *) # Relative name.
5280 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5281 ac_top_srcdir=$ac_top_build_prefix$srcdir
5282 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5283 esac
5284 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5287 case $ac_mode in
5290 # CONFIG_FILE
5293 _ACEOF
5295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5296 # If the template does not know about datarootdir, expand it.
5297 # FIXME: This hack should be removed a few years after 2.60.
5298 ac_datarootdir_hack=; ac_datarootdir_seen=
5299 ac_sed_dataroot='
5300 /datarootdir/ {
5304 /@datadir@/p
5305 /@docdir@/p
5306 /@infodir@/p
5307 /@localedir@/p
5308 /@mandir@/p'
5309 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5310 *datarootdir*) ac_datarootdir_seen=yes;;
5311 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5313 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5314 _ACEOF
5315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5316 ac_datarootdir_hack='
5317 s&@datadir@&$datadir&g
5318 s&@docdir@&$docdir&g
5319 s&@infodir@&$infodir&g
5320 s&@localedir@&$localedir&g
5321 s&@mandir@&$mandir&g
5322 s&\\\${datarootdir}&$datarootdir&g' ;;
5323 esac
5324 _ACEOF
5326 # Neutralize VPATH when `$srcdir' = `.'.
5327 # Shell code in configure.ac might set extrasub.
5328 # FIXME: do we really want to maintain this feature?
5329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5330 ac_sed_extra="$ac_vpsub
5331 $extrasub
5332 _ACEOF
5333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5336 s|@configure_input@|$ac_sed_conf_input|;t t
5337 s&@top_builddir@&$ac_top_builddir_sub&;t t
5338 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5339 s&@srcdir@&$ac_srcdir&;t t
5340 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5341 s&@top_srcdir@&$ac_top_srcdir&;t t
5342 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5343 s&@builddir@&$ac_builddir&;t t
5344 s&@abs_builddir@&$ac_abs_builddir&;t t
5345 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5346 $ac_datarootdir_hack
5348 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5349 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5351 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5352 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5353 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5354 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5356 which seems to be undefined. Please make sure it is defined" >&5
5357 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5358 which seems to be undefined. Please make sure it is defined" >&2;}
5360 rm -f "$ac_tmp/stdin"
5361 case $ac_file in
5362 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5363 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5364 esac \
5365 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5370 esac
5372 done # for ac_tag
5375 as_fn_exit 0
5376 _ACEOF
5377 ac_clean_files=$ac_clean_files_save
5379 test $ac_write_fail = 0 ||
5380 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5383 # configure is writing to config.log, and then calls config.status.
5384 # config.status does its own redirection, appending to config.log.
5385 # Unfortunately, on DOS this fails, as config.log is still kept open
5386 # by configure, so config.status won't be able to write to it; its
5387 # output is simply discarded. So we exec the FD to /dev/null,
5388 # effectively closing config.log, so it can be properly (re)opened and
5389 # appended to by config.status. When coming back to configure, we
5390 # need to make the FD available again.
5391 if test "$no_create" != yes; then
5392 ac_cs_success=:
5393 ac_config_status_args=
5394 test "$silent" = yes &&
5395 ac_config_status_args="$ac_config_status_args --quiet"
5396 exec 5>/dev/null
5397 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5398 exec 5>>config.log
5399 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5400 # would make configure fail if this is the last instruction.
5401 $ac_cs_success || as_fn_exit 1
5403 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5405 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}